1PCP(1) http://synce.sourceforge.net/ PCP(1)
2
3
4
6 pcp - copy files
7
8
10 pcp [-d LEVEL] [-p DEVPATH] [-h] [:]SOURCE [[:]DESTINATION]
11
12
14 pcp copies a file on a device connected through SynCE or between a
15 device connected through SynCE and host PC.
16
17
18 Forward slashes ('/') in remote file names specified on the command
19 line are converted to backward slashes ('\').
20
21
22 This tool must be run as the same user as the dccmd daemon.
23
24
26 -d LEVEL
27 Set debug log level:
28
29 0 - No logging (default)
30
31 1 - Errors only
32
33 2 - Errors and warnings
34
35 3 - Everything
36
37
38 -p DEVPATH
39 Use the device at the given path, instead of the default.
40
41
42 -h Display help message.
43
44
45 [:]SOURCE
46
47 Full path to the source filename. When the filename is prefixed
48 with a colon (':'), it will be treated as a remote filename,
49 otherwise as a local filename.
50
51
52 [:]DESTINATION
53
54 Full path to the destination filename. When the filename is pre‐
55 fixed with a colon (':'), it will be treated as a remote file‐
56 name, otherwise as a local filename.
57
58
59 If this parameter is omitted and the source filename is local,
60 the local file will be copied to a file with the same name in
61 the "My Documents" directory on the device connected through
62 SynCE.
63
64
65 If this parameter is omitted and the source filename is remote,
66 the remote file will be copied to a file with the same name in
67 the current directory.
68
69
71 Copy a file from host computer to remote device:
72
73 pcp download/game.cab ":/Temporary Files/game.cab"
74
75
76 Copy a file from remote device to host computer:
77
78 pcp ":/My Documents/snore.wav" /tmp/snore.wav
79
80
81 Copy a file from one location on the remove device to another:
82
83 pcp ":/My Documents/important.pwi" ":/My Documents/impor‐
84 tant.backup.pwi"
85
86
87
88
89
90
92 This manual page was written by David Eriksson <twogood@users.source‐
93 forge.net>.
94
96 synce(1) pcp(1) pls(1) prm(1) pmkdir(1) prmdir(1)
97
98
99
100The SynCE project November 2002 PCP(1)