fiDefrag is a filesystem independent defrag tool.
fiDefrag is a Python program that helps defragment files on Linux or any other Unix-like systems that support Python. It is loosely based on John Dong's pyFragTools but is cleaner, faster, more efficient and newer. The structure of the code is also easier to understand and more organized.
It can be run on any Unix-like system which meets with the above dependencies. It was originally written to minimize the file fragmentation on JFS filesystems but can be run on ANY Unix-like system with any filesystem which meets the above dependencies. It was tested on and works very well on JFS filesystems. It's also useful on ext2 or ext3 filesystems and even ReiserFS.
� fiDefrag requires root privileges to run.
python fiDefrag.py -h | -a < dir > | -d < dir > [-p < passes >]
� Run sudo fiDefrag.py for more usage information.