File: pcp.1

package info (click to toggle)
librapi2 0.9.0-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,204 kB
  • ctags: 1,258
  • sloc: sh: 9,013; ansic: 5,743; cpp: 522; makefile: 171
file content (97 lines) | stat: -rw-r--r-- 2,321 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
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
.\" $Id: pcp.1,v 1.4 2002/11/18 08:19:24 twogood Exp $
.TH "PCP" "1" "November 2002" "The SynCE project" "http://synce.sourceforge.net/"
.SH NAME
pcp \- copy files

.SH SYNOPSIS
\fBpcp\fR [\-d \fILEVEL\fR] [\-h] [:]\fISOURCE\fR [[:]\fIDESTINATION\fR]

.SH "DESCRIPTION"

.PP
\fBpcp\fR copies a file on a device connected through SynCE or between a
device connected through SynCE and host PC.

.PP
Forward slashes ('/') in remote file names specified on the command line are
converted to backward slashes ('\\').

.PP
This tool must be run as the same user as the dccmd daemon.

.SH "OPTIONS"
.TP
-d \fILEVEL\fR
Set debug log level:
.IP
0 - No logging (default)
.IP
1 - Errors only
.IP
2 - Errors and warnings
.IP
3 - Everything

.TP
-h
Display help message.

.TP
[:]\fISOURCE\fR

Full path to the source filename. When the filename is prefixed with a colon
(':'), it will be treated as a remote filename, otherwise as a local filename.

.TP
[:]\fIDESTINATION\fR

Full path to the destination filename. When the filename is prefixed with a colon
(':'), it will be treated as a remote filename, otherwise as a local filename.

.IP
If this parameter is omitted and the source filename is local, the local file
will be copied to a file with the same name in the "My Documents" directory on
the device connected through SynCE.

.IP
If this parameter is omitted and the source filename is remote, the remote file
will be copied to a file with the same name in the current directory.

.SH EXAMPLES

.LP
Copy a file from host computer to remote device:
.IP
pcp download/game.cab ":/Temporary Files/game.cab"

.LP
Copy a file from remote device to host computer:
.IP
pcp ":/My Documents/snore.wav" /tmp/snore.wav

.LP
Copy a file from host computer to remote device into the "My Document" folder - you
can leave off the last parameter:
.IP
pcp "work/mytext.txt"

.LP
Copy a file from remote device to host computer into the current directory - you
can leave off the last parameter:
.IP
pcp ":/My Documents/snore.wav"

.LP
Copy a file from one location on the remote device to another:
.IP
pcp ":/My Documents/important.pwi" ":/My Documents/important.backup.pwi" 





.SH "AUTHOR"
.PP
This manual page was written by David Eriksson <twogood@users.sourceforge.net>.
.SH "SEE ALSO"
synce(1) pcp(1) pls(1) prm(1) pmkdir(1) prmdir(1)