defrag-dirs

Crates.iodefrag-dirs
lib.rsdefrag-dirs
version0.1.1
sourcesrc
created_at2017-05-06 21:35:28.845416
updated_at2017-08-02 14:52:22.704919
descriptionDirectory index defragmentation
homepage
repositoryhttps://github.com/the8472/defrag-dirs
max_upload_size
id13492
size42,842
(the8472)

documentation

README

Version

defrag-dirs

A simple directory index "defragmentation" tool since e4defrag only handles regular files It works by moving all directory contents into temporary directories and then replacing the old ones.

Caveats:

  • Will interfere with any process that tries to access the directories at the same time.
  • Does not preserve xattrs, acls or timestamps of directories. Metadata of other dir entries is preserved
  • If an error is encountered in the middle of a move files may be left stranded in a temporary directory

Build

  • install liblzo2 and libz (build-time dependencies)
  • install rust and cargo
  • clone repo
  • cargo build --release
  • target/release/defrag-dirs --help
Commit count: 2

cargo fmt