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.86k stars 128 forks source link

sh: support reflinking directories #619

Open intelfx opened 1 year ago

intelfx commented 1 year ago

There are no technical limitations preventing the use of cp -a --reflink=always on directory pairs. With a few extensions to attribute preservation code, this seems to produce correct results.

This also builds on @Cebtenzzre's patch improving stampfile handling in the sh output generator.

Fixes #618.