Unix and Linux Discussions Tagged with duplicate |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
3,102 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
6,282 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,196 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
2,634 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,475 |
Shell Programming and Scripting |
|
|
|
6 |
1,581 |
Shell Programming and Scripting |
|
|
|
1 |
1,474 |
Shell Programming and Scripting |
|
|
|
12 |
11,077 |
Shell Programming and Scripting |
|
|
|
1 |
1,906 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,803 |
Shell Programming and Scripting |
|
|
|
2 |
12,330 |
Shell Programming and Scripting |
|
|
|
13 |
17,220 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,810 |
Shell Programming and Scripting |
|
|
|
7 |
10,129 |
Shell Programming and Scripting |
|
|
|
0 |
5,927 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
3,464 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,108 |
Shell Programming and Scripting |
|
|
|
4 |
6,139 |
UNIX and Linux Applications |
|
|
|
0 |
5,408 |
OS X Support RSS |
|
|
|
4 |
3,038 |
HP-UX |
|
|
|
9 |
3,274 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
8 |
5,097 |
Shell Programming and Scripting |
|
|
|
3 |
9,145 |
Shell Programming and Scripting |
|
|
|
4 |
4,556 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
11,534 |
AIX |
|
|
|
1 |
4,123 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,887 |
Shell Programming and Scripting |
|
|
|
4 |
13,492 |
Shell Programming and Scripting |
|
|
|
0 |
2,373 |
Shell Programming and Scripting |
|
|
|
1 |
3,381 |
Shell Programming and Scripting |
|
|
|
4 |
4,679 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
6,878 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
6,292 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,729 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,486 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,111 |
UNIX for Dummies Questions & Answers |
hardlink(1) General Commands Manual hardlink(1)
NAME
hardlink - Consolidate duplicate files via hardlinks
SYNOPSIS
hardlink [-c] [-n] [-v] [-vv] [-h] directory1 [ directory2 ... ]
DESCRIPTION
This manual page documents hardlink, a program which consolidates duplicate files in one or more directories using hardlinks.
hardlink traverses one or more directories searching for duplicate files. When it finds duplicate files, it uses one of them as the mas-
ter. It then removes all other duplicates and places a hardlink for each one pointing to the master file. This allows for conservation of
disk space where multiple directories on a single filesystem contain many duplicate files.
Since hard links can only span a single filesystem, hardlink is only useful when all directories specified are on the same filesystem.
OPTIONS
-c Compare only the contents of the files being considered for consolidation. Disregards permission, ownership and other differ-
ences.
-f Force hardlinking across file systems.
-n Do not perform the consolidation; only print what would be changed.
-v Print summary after hardlinking.
-vv Print every hardlinked file and bytes saved. Also print summary after hardlinking.
-h Show help.
AUTHOR
hardlink was written by Jakub Jelinek <jakub@redhat.com>.
Man page written by Brian Long.
Man page updated by Jindrich Novy <jnovy@redhat.com>
BUGS
hardlink assumes that its target directory trees do not change from under it. If a directory tree does change, this may result in hardlink
accessing files and/or directories outside of the intended directory tree. Thus, you must avoid running hardlink on potentially changing
directory trees, and especially on directory trees under control of another user.
hardlink(1)