mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 03:58:26 +00:00
Update cheatsheets
This commit is contained in:
25
rdfind
Normal file
25
rdfind
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# rdfind
|
||||
|
||||
> Find files with duplicate content and get rid of them.
|
||||
> More information: <https://rdfind.pauldreik.se>.
|
||||
|
||||
- Identify all duplicates in a given directory and output a summary:
|
||||
|
||||
`rdfind -dryrun true {{path/to/directory}}`
|
||||
|
||||
- Replace all duplicates with hardlinks:
|
||||
|
||||
`rdfind -makehardlinks true {{path/to/directory}}`
|
||||
|
||||
- Replace all duplicates with symlinks/soft links:
|
||||
|
||||
`rdfind -makesymlinks true {{path/to/directory}}`
|
||||
|
||||
- Delete all duplicates and do not ignore empty files:
|
||||
|
||||
`rdfind -deleteduplicates true -ignoreempty false {{path/to/directory}}`
|
||||
Reference in New Issue
Block a user