bash:files:delete_duplicate_files
Differences
This shows you the differences between two versions of the page.
bash:files:delete_duplicate_files [2022/06/13 10:24] – created peter | bash:files:delete_duplicate_files [2022/06/13 10:27] (current) – peter | ||
---|---|---|---|
Line 75: | Line 75: | ||
</ | </ | ||
- | + | <WRAP info> | |
- | FSlint command line options | + | **NOTE: |
FSlint provides a collection of the following CLI utilities to find duplicates in your filesystem: | FSlint provides a collection of the following CLI utilities to find duplicates in your filesystem: | ||
Line 124: | Line 124: | ||
man fslint | man fslint | ||
</ | </ | ||
+ | |||
+ | </ | ||
+ | |||
---- | ---- | ||
Line 145: | Line 148: | ||
</ | </ | ||
- | + | <WRAP center round info 60%> | |
- | Usage: | + | **NOTE: |
Fdupes usage is pretty simple. Just run the following command to find out the duplicate files in a directory, for example ~/ | Fdupes usage is pretty simple. Just run the following command to find out the duplicate files in a directory, for example ~/ | ||
Line 168: | Line 171: | ||
Now you will see the duplicates from / | Now you will see the duplicates from / | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
Fdupes can also be able to find duplicates from multiple directories at once. | Fdupes can also be able to find duplicates from multiple directories at once. | ||
Line 182: | Line 189: | ||
</ | </ | ||
- | The above commands | + | <WRAP info> |
+ | **NOTE: | ||
+ | </ | ||
Sometimes, you might want to know the size of the duplicates in a directory. If so, use -S option like below. | Sometimes, you might want to know the size of the duplicates in a directory. If so, use -S option like below. | ||
Line 202: | Line 212: | ||
</ | </ | ||
- | The first command will exclude zero-length files from consideration and the latter will exclude hidden files from consideration while searching for duplicates in the specified directory. | + | <WRAP info> |
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
To summarize duplicate files information, | To summarize duplicate files information, |
bash/files/delete_duplicate_files.1655115868.txt.gz · Last modified: 2022/06/13 10:24 by peter