OLD | NEW |
| (Empty) |
1 .\"Generated by db2man.xsl. Don't modify this, modify the source. | |
2 .de Sh \" Subsection | |
3 .br | |
4 .if t .Sp | |
5 .ne 5 | |
6 .PP | |
7 \fB\\$1\fR | |
8 .PP | |
9 .. | |
10 .de Sp \" Vertical space (when we can't use .PP) | |
11 .if t .sp .5v | |
12 .if n .sp | |
13 .. | |
14 .de Ip \" List item | |
15 .br | |
16 .ie \\n(.$>=3 .ne \\$3 | |
17 .el .ne 3 | |
18 .IP "\\$1" \\$2 | |
19 .. | |
20 .TH "XDG-COPY" 1 "" "" "xdg-copy Manual" | |
21 .SH NAME | |
22 xdg-copy \- command line tool for copying files between desktop URIs | |
23 .SH "SYNOPSIS" | |
24 .ad l | |
25 .hy 0 | |
26 .HP 9 | |
27 \fBxdg\-copy\fR \fB\fIsource\fR\fR \fB\fIdestination\fR\fR | |
28 .ad | |
29 .hy | |
30 .ad l | |
31 .hy 0 | |
32 .HP 9 | |
33 \fBxdg\-copy\fR {\fB\fB\-\-help\fR\fR | \fB\fB\-\-manual\fR\fR | \fB\fB\-\-versi
on\fR\fR} | |
34 .ad | |
35 .hy | |
36 | |
37 .SH "DESCRIPTION" | |
38 | |
39 .PP | |
40 xdg\-copy copies \fIsource\fR to \fIdestination\fR and provides visual feedback
to the user during the operation\&. Both \fIsource\fR and \fIdestination\fR can
either be a file or URL\&. Supported URL types are file, ftp, http and https\&.
Additional URL types may be supported depending on the desktop environment\&. | |
41 | |
42 .PP | |
43 xdg\-copy is for use inside a desktop session only\&. It is not recommended to u
se xdg\-copy as root\&. | |
44 | |
45 .SH "OPTIONS" | |
46 | |
47 .TP | |
48 \fB\-\-help\fR | |
49 Show command synopsis\&. | |
50 | |
51 .TP | |
52 \fB\-\-manual\fR | |
53 Show this manualpage\&. | |
54 | |
55 .TP | |
56 \fB\-\-version\fR | |
57 Show the xdg\-utils version information\&. | |
58 | |
59 .SH "EXIT CODES" | |
60 | |
61 .PP | |
62 An exit code of 0 indicates success while a non\-zero exit code indicates failur
e\&. The following failure codes can be returned: | |
63 | |
64 .TP | |
65 \fB1\fR | |
66 Error in command line syntax\&. | |
67 | |
68 .TP | |
69 \fB2\fR | |
70 One of the files passed on the command line did not exist\&. | |
71 | |
72 .TP | |
73 \fB3\fR | |
74 A required tool could not be found\&. | |
75 | |
76 .TP | |
77 \fB4\fR | |
78 The action failed\&. | |
79 | |
80 .SH "EXAMPLES" | |
81 | |
82 .PP | |
83 | |
84 | |
85 .nf | |
86 | |
87 xdg\-copy "http://portland\&.freedesktop\&.org/png/freedesktop\-logo\&.png" \&. | |
88 | |
89 .fi | |
90 | |
91 | |
92 .PP | |
93 | |
94 | |
95 .nf | |
96 | |
97 xdg\-copy "/tmp/foobar\&.png" "/home/user/foobar\-copy\&.png" | |
98 | |
99 .fi | |
100 | |
101 | |
102 .SH AUTHORS | |
103 Kevin Krammer, Jeremy White. | |
OLD | NEW |