-2

I often end up with duplicate files with same content, but with same or different names while doing the literature study. How to find and delete the duplicate files from terminal? How to just move them to bin and recover later if necessary and how to delete them permanently?

3 Answers3

0

You may be interested in rdfind: https://github.com/pauldreik/rdfind

dariofac
  • 1,042
0

You can use rfind or fdupes both installable via apt.

See 4 Useful Tools to Find and Delete Duplicate Files in Linux for more details.

Lorenz Keel
  • 8,905
cknoll
  • 103
  • 5
0

FDUPES

you can install fdupes from terminal (CRT+ALT+T):

sudo apt install fdupes

for example if you want find all duplicate documents in you Home you can type:

fdupes ~/Documents -r

FSLINT

you can also use fslint from grafphical user interface that is available till ubuntu 18.04 because now the use of fslint in 20.04 is not possible as standard because python2 is not present as it is deprecated.

sudo apt install fslint

enter image description here

For the use fslint

pat
  • 429