File: dar_cp.1

package info (click to toggle)
dar 2.6.13-2
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 10,364 kB
  • sloc: cpp: 77,385; sh: 6,192; ansic: 776; makefile: 435; python: 242; csh: 95; perl: 43; sed: 16
file content (66 lines) | stat: -rw-r--r-- 1,604 bytes parent folder | download | duplicates (3)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.TH DAR_CP 1 "August 18th, 2018"
.UC 8
.SH NAME
dar_cp \- 'cp' clone command that is able to copy data located after an I/O error
.SH SYNOPSIS
dar_cp <source file> <destination file>
.P
dar_cp -h
.P
dar_cp -V
.SH DESCRIPTION
.B dar_cp
is similar to the standard 'cp' command, except it does not stop copying when an I/O error is met. Instead, it skips a bit further and continues to copy the rest of the file, as much as possible, filling the gaps by zeroed bytes.

.PP
.B dar_cp
only accepts full filename (not directory) as argument. The reason of its
existence in dar package is that you need it if you use Parchive with dar
and have a corruption on a CD-R or any other read-only medium. You need to copy
the corrupted slice on a read-write filesystem, for Parchive be able to repair
it using slice associated redundancy files.

.SH OPTIONS

.PP
.TP 20
-h
Displays help usage.
.TP 20
-V
Displays version information.

.SH EXIT CODES
.B dar_cp
exists with the following codes:
.TP 10
0
upon normal execution (be some corrupted parted skipped or not)
.TP 10
1
syntax error on command-line
.TP 10
2
could not open source or destination files
.TP 10
3
any other system error met during the copy
.TP 10
5
when some data could not be copied due to I/O error

.SH SIGNALS
Any signal sent to dar_cp will abort the program immediately, there is no way to have a proper termination before the end of the process

.SH SEE ALSO
dar(1), dar_xform(1), dar_manager(1), dar_slave(1), dar_split(1)

.SH KNOWN BUGS
http://sourceforge.net/p/dar/bugs/

.SH AUTHOR
.nf
http://dar.linux.free.fr/
Denis Corbin
France
Europe