UBUNTU: File Duplicate Duplikasi

From OnnoWiki
Revision as of 17:38, 4 December 2023 by Onnowpurbo (talk | contribs) (→‎Pemakaian)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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