Fpart
Sort files and pack them into partitions
Install / Use
/learn @martymac/FpartREADME
_______ ____ __ _ __
/ / ___| _ \ / /_ _ _ __| |_ / /
/ /| |_ | |_) / / _` | '__| __| / /
/ / | _| | __/ / (_| | | | |_ / /
/_/ |_| |_| /_/ \__,_|_| \__/_/
What is fpart ?
Fpart is a Filesystem partitioner. It helps you sort file trees and pack them into bags (called "partitions"). It is developed in C and available under the BSD license.
Fpsync, a powerful file-migration tool is also provided.
See the documentation for more details and examples.
Key features
Fpart
- Blazing fast crawling!
- Generates partitions on a number/file number/size basis
- Provides a live mode with hooks to act immediately on generated file lists
- Supports generating partitions from arbitrary input (e.g. du's output)
Fpsync
- Parallelizes rsync(1), cpio(1), pax(1) or tar(1) jobs
- Supports using a SSH cluster for efficient data migrations
- Starts transfers while FS crawling still goes on
- Supports remote target URLs when using rsync(1)
- Parallelizes your final rsync(1) pass too!
- Provides transfer runs' status/resume/replay
- Nearly no dependencies (mostly shell and common tools)
Author / Licence
Fpart has been written by Ganael LAPLANCHE and is available under the BSD license (see COPYING for details).
Source code is hosted on :
Documentation is available on :
Thanks to Jean-Baptiste Denis for having given me the idea of this program !
Third-party code
fts(3) code originally comes from FreeBSD :
lib/libc/include/block_abi.h -> src/block_abi.h
include/fts.h -> src/fts.h
lib/libc/gen/fts.c -> src/fts.c
It has been slightly modified for portability and is available under the BSD license.
Supporting fpart
If fpart (or fpsync) is useful to you or your organization, do not hesitate to contribute back! You can follow ideas in the TODO file or just fix a bug, any kind of help is always welcome!
You can also make a donation via Paypal:
or Github.
That will help me not running out of tea :)
Related Skills
node-connect
347.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.6kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。

