UBUNTU: File Duplicate Duplikasi

From OnnoWiki
Jump to navigation Jump to search

Sumber: https://beebom.com/how-find-remove-duplicate-files-linux/


Install

sudo apt-get install fdupes


Pemakaian

fdupes <options> <path_to_search_in>

Some of the common options to pair with fdupes command are:

Options Description

-r	Traverse through all the subdirectories present in the parent directory
-s	Follow directories linked with symbolic links
-A	Exclude hidden files from consideration
-m	Summarise the duplicate files comparison
-d	Prompts users for files to preserve while deleting all other files


Contoh

Kalau mau automatis semua duplikasi akan di delete

fdupes -rqdN /mnt/pustaka*

Referensi