Subversion Repositories sysadmin_scripts

Rev

Rev 160 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 160 Rev 161
Line 1... Line 1...
1
# find greatest savings after fdupes run
1
# find greatest savings after fdupes run
2
 
2
 
3
Using fdupes to report on duplicate files, or even remove them
-
 
4
automatically, is excellent. However, sometimes just working on a subset of
3
Using fdupes to report on duplicate files, or even remove them automatically, is excellent. However, sometimes just working on a subset of the files can be done in 10% of the time and result in a 90% cleanup.
5
the files can be done in 10% of the time and result in a 90% cleanup.
-
 
6
 
4
 
7
fdupesGreatestSavings is a perl script that takes the output of fdupes (on
5
fdupesGreatestSavings is a perl script that takes the output of fdupes (on
8
stdin) and determines which entries will result in the greatest savings,
6
stdin) and determines which entries will result in the greatest savings,
9
whether it is 100 copies of a 1 Meg file or 2 copies of a 20G file. The
7
whether it is 100 copies of a 1 Meg file or 2 copies of a 20G file. The
10
output is sorted by greatest savings to least.
8
output is sorted by greatest savings to least.