Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to remove all duplicate files by file type? #156

Open
githubuser00 opened this issue May 31, 2021 · 4 comments
Open

Is there a way to remove all duplicate files by file type? #156

githubuser00 opened this issue May 31, 2021 · 4 comments

Comments

@githubuser00
Copy link

Is there a way to remove all duplicate files by file type?

for example:
fdupes -rdN -type=JPG /mnt
or
fdupes -rdN -name=*.jpg

@senoclub
Copy link

senoclub commented Nov 15, 2021

....or negative of that function!
For example, choose for deletion all files, exclude specific extension:
fdupes -rdN -noext=xmp;xml;crc

@shaun-ba
Copy link

shaun-ba commented Sep 8, 2022

Also came looking for this, would love to run this against image only.

@EdwinKM
Copy link

EdwinKM commented Nov 27, 2022

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 #6

@m-chaturvedi
Copy link

I wrote undupes that supports this: https://github.com/m-chaturvedi/undupes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants