pkolaczk / fclones

Efficient Duplicate File Finder
MIT License
1.94k stars 75 forks source link

Add sorting by status change (ctime) on unix #218

Closed th1000s closed 1 year ago

th1000s commented 1 year ago

One use case for ctime is to find, or rather guess, which file was the original after cp -a was used. If a snapshot was taken of the filesystem, then keeping data of the one already in the snapshot saves space.

Also removed misleading dead code, this was not detected because the enum is public. I was wondering why Err(format!("The priority {s} is not supported on Windows")) would not run!

pkolaczk commented 1 year ago

Thank you! :)