sudo apt-get install fdupes
ИспользованиеПоиск
fdupes -r .
Поиск и запрос на удалениеfdupes -rd .
Поиск и запрос на удаление игнорировать пустыеfdupes -rdn .
Точка - текущий каталог
Usage: fdupes [options] DIRECTORY...
-r --recurse for every directory given follow subdirectories
encountered within
-R --recurse: for each directory given after this option follow
subdirectories encountered within
-s --symlinks follow symlinks
-H --hardlinks normally, when two or more files point to the same
disk area they are treated as non-duplicates; this
option will change this behavior
-n --noempty exclude zero-length files from consideration
-f --omitfirst omit the first file in each set of matches
-1 --sameline list each set of matches on a single line
-S --size show size of duplicate files
-m --summarize summarize dupe information
-q --quiet hide progress indicator
-d --delete prompt user for files to preserve and delete all
others; important: under particular circumstances,
data may be lost when using this option together
with -s or --symlinks, or when specifying a
particular directory more than once; refer to the
fdupes documentation for additional information
-N --noprompt together with --delete, preserve the first file in
each set of duplicates and delete the rest without
without prompting the user
-v --version display fdupes version
-h --help display this help message
ссылки по теме:
http://mydebianblog.blogspot.com/2006/10/blog-post_16.html
http://mydebianblog.blogspot.com/2009/09/linux.html
Комментариев нет:
Отправить комментарий