google / skicka

Command-line utility for working with Google Drive. Join the mailing list at https://groups.google.com/forum/#!forum/skicka-users.
Apache License 2.0
1.3k stars 120 forks source link

fsck remove duplicate duplicates #88

Open bobobo1618 opened 9 years ago

bobobo1618 commented 9 years ago

I know fsck is experimental but it'd be a great help to have options for it to remove files that produce this:

at least two instances of this file are non-empty but have different contents. Leaving them alone.

Personally, I want it to remove the older of the duplicates.

mmp commented 9 years ago

This seems like a reasonable enhancement. Any suggestions for naming the command line flag?

e.g. skicka fsck --remove-duplicates-strategy=keep-newest seems a bit wordy. :-)

bobobo1618 commented 9 years ago

--remove-dupes=keep-newest?