File: declone.1

package info (click to toggle)
hxtools 20180301-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,600 kB
  • sloc: ansic: 5,926; perl: 3,905; sh: 1,638; cpp: 342; makefile: 191; asm: 173
file content (31 lines) | stat: -rw-r--r-- 870 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.TH declone 1 "2008-02-06" "hxtools" "hxtools"
.SH Name
.PP
declone \(em break hardlinks
.SH Syntax
.PP
\fBdeclone\fP \fIfile\fP...
.SH Description
.PP
Breaks a hard link as created by \fBln\fP(1) or \fBhardlink\fP(1).
This program makes a copy of the file's contents, the ownership information
and standard permissions. It does not copy ACLs or SELinux contexts.
.SH Example
.PP
.nf
$ ln GNUmakefile new1
$ ln GNUmakefile new2
$ ls -li GNUmakefile new1 new2
-rw-r--r--  3 jengelh users 2687 May 27 23:11 GNUmakefile
-rw-r--r--  3 jengelh users 2687 May 27 23:11 new1
-rw-r--r--  3 jengelh users 2687 May 27 23:11 new2
$ declone new2
* new2
$ ls -li GNUmakefile new1 new2
-rw-r--r--  2 jengelh users 2687 May 27 23:11 GNUmakefile
-rw-r--r--  2 jengelh users 2687 May 27 23:11 new1
-rw-r--r--  1 jengelh users 2687 May 28 09:10 new2
.fi
.SH See also
.PP
\fBhxtools\fP(7)