Wednesday, March 16, 2016

tool to find duplicated files

when your files are messy stored, they could be duplicated, so we can use fdupes for find and remove those duplicated files to save disk space.

1- installation
$ sudo apt-get install fdupes

2- usages
- find the duplicated file in current directory
$ fdupes .

- find recursively in the current directory
$ fdupes . -r

- find and delete the duplicated files
$ fdupes . -d
$ fdupes . -d -r

when you will prompt for which file to preserve

No comments:

Post a Comment