fpart

Sorts file trees and packs them into bags for efficient processing

brewmacoslinux
Try with needOr install directly
Source

About

Sorts file trees and packs them into bags

Commands

fpartfpsort

Examples

Pack files into bags of max 1GB each$ fpart -S 1g /path/to/files
Sort files by name and split into 5 bags$ fpart -n 5 /path/to/files
Generate bags and execute command on each$ fpart -x -S 500m /path/to/files -exec tar czf bag.tar.gz {}