Query: hardlink
OS: centos
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
hardlink(1) General Commands Manual hardlink(1)NAMEhardlink - Consolidate duplicate files via hardlinksSYNOPSIShardlink [-c] [-n] [-v] [-vv] [-h] directory1 [ directory2 ... ]DESCRIPTIONThis 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.AUTHORhardlink was written by Jakub Jelinek <jakub@redhat.com>. Man page written by Brian Long. Man page updated by Jindrich Novy <jnovy@redhat.com>BUGShardlink 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)
Related Man Pages |
---|
s3qlcp(1) - debian |
hardlink(1) - centos |
archive_entry_paths(3) - centos |
archive_entry_paths(3) - freebsd |
hardlink(1) - suse |
Similar Topics in the Unix Linux Community |
---|
removing line and duplicate line |
Link Directory to directory (S.O.S) |
Search compare and determine duplicate files |
Delete duplicate strings in a line |
Remove duplicate email |