sahib / rmlint

Extremely fast tool to remove duplicates and other lint from your filesystem
http://rmlint.rtfd.org
GNU General Public License v3.0
1.85k stars 128 forks source link

Request: apply `--size` filtering to directories #662

Open aowenson-imm opened 1 month ago

aowenson-imm commented 1 month ago

With some filesystems, the directory size reported by stat is the sum of all files and subdirectories within. E.g. on my Ceph:

$ stat $HOME
...
  Size: 10572529497
...

Combining with minsize could improve traverse performance, by avoiding small crowded directories like .git.