1PCP(1)                   http://synce.sourceforge.net/                  PCP(1)
2
3
4

NAME

6       pcp - copy files
7
8

SYNOPSIS

10       pcp [-d LEVEL] [-p DEVNAME] [-h] [:]SOURCE [[:]DESTINATION]
11
12

DESCRIPTION

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

OPTIONS

26       -r     Copy directories recursively.
27
28
29       -d LEVEL
30              Set debug log level:
31
32              0 - No logging (default)
33
34              1 - Errors only
35
36              2 - Errors and warnings
37
38              3 - Everything
39
40
41       -p DEVNAME
42              Use the device with the given name, instead of the default.
43
44
45       -h     Display help message.
46
47
48       [:]SOURCE
49
50              Full  path to the source filename. When the filename is prefixed
51              with a colon (':'), it will be treated  as  a  remote  filename,
52              otherwise as a local filename.
53
54
55       [:]DESTINATION
56
57              Full path to the destination filename. When the filename is pre‐
58              fixed with a colon (':'), it will be treated as a  remote  file‐
59              name, otherwise as a local filename.
60
61
62              If  this  parameter is omitted and the source filename is local,
63              the local file will be copied to a file with the  same  name  in
64              the  "My  Documents"  directory  on the device connected through
65              SynCE.
66
67
68              If this parameter is omitted and the source filename is  remote,
69              the  remote  file will be copied to a file with the same name in
70              the current directory.
71
72

EXAMPLES

74       Copy a file from host computer to remote device:
75
76              pcp download/game.cab ":/Temporary Files/game.cab"
77
78
79       Copy a file from remote device to host computer:
80
81              pcp ":/My Documents/snore.wav" /tmp/snore.wav
82
83
84       Copy a file from host computer to remote device into the "My  Document"
85       folder - you can leave off the last parameter:
86
87              pcp "work/mytext.txt"
88
89
90       Copy a file from remote device to host computer into the current direc‐
91       tory - you can leave off the last parameter:
92
93              pcp ":/My Documents/snore.wav"
94
95
96       Copy a file from one location on the remote device to another:
97
98              pcp  ":/My   Documents/important.pwi"   ":/My   Documents/impor‐
99              tant.backup.pwi"
100
101
102
103
104
105

AUTHOR

107       This  manual  page was written by David Eriksson <twogood@users.source‐
108       forge.net>.
109

SEE ALSO

111       synce(1) pcp(1) pls(1) prm(1) pmkdir(1) prmdir(1)
112
113
114
115The SynCE project                November 2002                          PCP(1)
Impressum