1DAR_CP(1) General Commands Manual DAR_CP(1)
2
3
4
6 dar_cp - 'cp' clone command that is able to copy data located after an
7 I/O error
8
10 dar_cp <source file> <destination file>
11
12 dar_cp -h
13
14 dar_cp -V
15
17 dar_cp is similar to the standard 'cp' command, except it does not stop
18 copying when an I/O error is met. Instead, it skips a bit further and
19 continues to copy the rest of the file, as much as possible, filling
20 the gaps by zeroed bytes.
21
22
23 dar_cp only accepts full filename (not directory) as argument. The rea‐
24 son of its existence in dar package is that you need it if you use
25 Parchive with dar and have a corruption on a CD-R or any other read-
26 only medium. You need to copy the corrupted slice on a read-write
27 filesystem, for Parchive be able to repair it using slice associated
28 redundancy files.
29
30
32 -h Displays help usage.
33
34 -V Displays version information.
35
36
38 dar_cp exists with the following codes:
39
40 0 upon normal execution (be some corrupted parted skipped or
41 not)
42
43 1 syntax error on command-line
44
45 2 could not open source or destination files
46
47 3 any other system error met during the copy
48
49 5 when some data could not be copied due to I/O error
50
51
53 Any signal sent to dar_cp will abort the program immediately, there is
54 no way to have a proper termination before the end of the process
55
56
58 dar(1), dar_xform(1), dar_manager(1), dar_slave(1), dar_split(1)
59
60
62 http://sourceforge.net/p/dar/bugs/
63
64
66 http://dar.linux.free.fr/
67 Denis Corbin
68 France
69 Europe
70
71
72
733rd Berkeley Distribution August 18th, 2018 DAR_CP(1)