adrianlopezroche / fdupes

FDUPES is a program for identifying or deleting duplicate files residing within specified directories.
2.43k stars 187 forks source link

keep the newest of duplicates #55

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hi, I'm wondering if it would be possible to add delete the oldest duplicates and keep the newest copy, search and delete by timestamp?

adrianlopezroche commented 8 years ago

fdupes --order=time --reverse --delete --noprompt [directory]

... will automatically keep the newest copy and delete all other copies.