Open githubuser00 opened 3 years ago
....or negative of that function!
For example, choose for deletion all files, exclude specific extension:
fdupes -rdN -noext=xmp;xml;crc
Also came looking for this, would love to run this against image only.
This was my main reason to switch to the jdupes fork
`exts="avi,divx,f4v,flv,m4v,mkv,mov,mp4,mpe,mpeg,mpg,rm,rmvb,ts,vob,webm,wmv,iso"
jdupes --recurse --ext-filter="onlyext:$exts" --ext-filter="nostr:${transmission_folder}/incomplete/" --print-summarize --size $folder`
Duplicate of https://github.com/adrianlopezroche/fdupes/issues/6
I wrote undupes that supports this: https://github.com/m-chaturvedi/undupes
Is there a way to remove all duplicate files by file type?
for example: fdupes -rdN -type=JPG /mnt or fdupes -rdN -name=*.jpg