Fpart is a tool that helps you sort file trees and pack them into bags (called
"partitions"). It is developped in C and available under the BSD license.

It splits a list of directories and file trees into a certain number of
partitions, trying to produce partitions with the same size and number of files.
It can also produce partitions with a given number of files or a limited size.

Once generated, partitions are either printed as file lists to stdout (default)
or to files. Those lists can then be used by third party programs.

Fpart also includes a live mode, which allows it to crawl very large filesystems
and produce partitions in live. Hooks are available to act on those partitions
(e.g. immediatly start a transfer using rsync(1)) without having to wait for
the filesystem traversal job to be finished. Used this way, fpart can be seen
as a powerful data migration tool.

Project Activity

See All Activity >

License

BSD License

Follow fpart

fpart Web Site

Other Useful Business Software
Build AI Apps with Gemini 3 on Vertex AI Icon
Build AI Apps with Gemini 3 on Vertex AI

Access Google’s most capable multimodal models. Train, test, and deploy AI with 200+ foundation models on one platform.

Vertex AI gives developers access to Gemini 3—Google’s most advanced reasoning and coding model—plus 200+ foundation models including Claude, Llama, and Gemma. Build generative AI apps with Vertex AI Studio, customize with fine-tuning, and deploy to production with enterprise-grade MLOps. New customers get $300 in free credits.
Try Vertex AI Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
2
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

  • Excellent tool for partitioning filetrees. Obvioulsy designed with rsync in mind, but can be used for any function or util that requires you to partition a filetree into equal chunks so you can do something with those chunks. By aggregate size of referenced file, by number of files, etc. Similar to the kdirstat-cache-writer that comes with the beautiful kdirstat, but fpart has some added benefits, chiefly the live option which partitions as it goes, as opposed to kdirstat util which has to complete the recursion before you can use the output. surprisingly, even tho kdirstat is in Perl and this is compiled C, they're comparably fast, but fpart is more flexible. Well-documented, well-designed, easily compiled, good help. Beautiful little util.
  • Thanks for Fpart, it's the best!
    1 user found this review helpful.
Read more reviews >

Additional Project Details

Operating Systems

FreeBSD, Linux, Mac, NetBSD, Solaris

Languages

English

Intended Audience

Advanced End Users, Information Technology, System Administrators

User Interface

Command-line

Programming Language

C

Related Categories

C File Managers, C Backup Software, C File Systems

Registered

2011-11-18