File: declone.1

package info (click to toggle)
hxtools 20251011-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,468 kB
  • sloc: ansic: 4,384; perl: 3,467; sh: 1,664; cpp: 353; makefile: 90
file content (26 lines) | stat: -rw-r--r-- 888 bytes parent folder | download
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
.TH declone 1 "2008-02-06" "hxtools" "hxtools"
.SH Name
declone \(em break hardlinks
.SH Syntax
\fBdeclone\fP \fIfile\fP...
.SH Description
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
.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
\fBhxtools\fP(7)