User Tools

Site Tools


bash:files:delete_duplicate_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

bash:files:delete_duplicate_files [2022/06/13 10:24] – created peterbash:files:delete_duplicate_files [2022/06/13 10:27] (current) peter
Line 75: Line 75:
 </code> </code>
  
- +<WRAP info> 
-FSlint command line options+**NOTE:**  FSlint command line options:
  
 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
 </code> </code>
 +
 +</WRAP>
 +
 ---- ----
  
Line 145: Line 148:
 </code> </code>
  
- +<WRAP center round info 60%> 
-Usage:+**NOTE:**  Usage:
  
 Fdupes usage is pretty simple. Just run the following command to find out the duplicate files in a directory, for example ~/Downloads. Fdupes usage is pretty simple. Just run the following command to find out the duplicate files in a directory, for example ~/Downloads.
Line 168: Line 171:
  
 Now you will see the duplicates from /home/sk/Downloads/ directory and its sub-directories as well. Now you will see the duplicates from /home/sk/Downloads/ directory and its sub-directories as well.
 +
 +</WRAP>
 +
 +----
  
 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:
 </code> </code>
  
-The above commands searches for duplicates in “~/Downloads” directory and “~/Documents/ostechnix” directory and its sub-directories.+<WRAP info> 
 +**NOTE:**  This searches for duplicates in “~/Downloads” directory and “~/Documents/ostechnix” directory and its sub-directories. 
 +</WRAP> 
  
 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:
 </code> </code>
  
-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:**  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> 
 + 
 +----
  
 To summarize duplicate files information, use -m option. To summarize duplicate files information, use -m option.
bash/files/delete_duplicate_files.1655115868.txt.gz · Last modified: 2022/06/13 10:24 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki