Qual aplicativo para deletar arquivos repetidos?

1. Qual aplicativo para deletar arquivos repetidos?

andre luiz
xiloba

(usa Slackware)

Enviado em 08/12/2014 - 14:11h

E aí, galera?

Eu sei que o grsync, o free file sync fazem o serviço de comparar duas pastas e igualar o conteúdo delas.

Mas eu não sei como usá-los para comparar pastas dentro de um mesmo dispositivo, tipo um pendrive.

Imagine a situação: dentro do pendrive há pastas chamadas 2009,2010,2011...2014. Dentro destas pastas há alguns arquivos repetidos.

Como fazer para saber da repetição deles e como escolher qual deve ficar e qual deve ser deletado?




  


2. Re: Qual aplicativo para deletar arquivos repetidos?

Perfil removido
removido

(usa Nenhuma)

Enviado em 08/12/2014 - 14:48h

# aptitude search fdupes
i   fdupes                                                      - Identifica ficheiros duplicados dentro de directórios fornecidos 


# fdupes -h
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 (note the ':' at
                        the end of the option, manpage for more details)
 -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
 -A --nohidden          exclude hidden 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 







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts