Find duplicate files and create delete-file: Difference between revisions

From WickyWiki
Created page with "201103 Bash, Commandline Options: * -r recursive - NB: this can take some time * -n ignore empty files * -f ommit first occurences ** Note: the exact order is not quite clear, i..."
 
No edit summary
Line 1: Line 1:
201103 Bash, Commandline
201103 Bash, Commandline
== Create duplicates list ==


Options:
Options:
Line 11: Line 13:
fdupes -r -n -f ~ > fdupes_list.txt
fdupes -r -n -f ~ > fdupes_list.txt
</syntaxhighlight>
</syntaxhighlight>
== Create delete-file ==
Todo

Revision as of 08:57, 1 November 2011

201103 Bash, Commandline

Create duplicates list

Options:

  • -r recursive - NB: this can take some time
  • -n ignore empty files
  • -f ommit first occurences
    • Note: the exact order is not quite clear, it will help to do dirs seperately
  • -S show size
  • -d delete (prompted)
fdupes -r -n -f ~ > fdupes_list.txt

Create delete-file

Todo