OLD | NEW |
(Empty) | |
| 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859
-1"><title>xdg-copy</title><meta name="generator" content="DocBook XSL Styleshee
ts V1.68.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840
084" alink="#0000FF"><div class="refentry" lang="en"><a name="xdg-copy"></a><div
class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>xdg-copy —
; command line tool for copying files between desktop URIs</p></div><div class="
refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="comman
d">xdg-copy</code> <code class="option"><em class="replaceable"><code>source</
code></em></code> <code class="option"><em class="replaceable"><code>destinati
on</code></em></code> </p></div><div class="cmdsynopsis"><p><code class="command
">xdg-copy</code> { <code class="option">--help</code> | <code class="option
">--manual</code> | <code class="option">--version</code> }</p></div></div><d
iv class="refsect1" lang="en"><a name="description"></a><h2>Description</h2><p> |
| 2 xdg-copy copies <em class="replaceable"><code>source</code></em> to |
| 3 <em class="replaceable"><code>destination</code></em> and provides visual
feedback to |
| 4 the user during the operation. Both <em class="replaceable"><code>source</
code></em> |
| 5 and <em class="replaceable"><code>destination</code></em> can either be a
file or |
| 6 URL. Supported URL types are file, ftp, http and https. Additional |
| 7 URL types may be supported depending on the desktop environment. |
| 8 </p><p> |
| 9 xdg-copy is for use inside a desktop session only. |
| 10 It is not recommended to use xdg-copy as root. |
| 11 </p></div><div class="refsect1" lang="en"><a name="options"></a><h2>Options<
/h2><div class="variablelist"><dl><dt><span class="term"><code class="option">--
help</code></span></dt><dd> |
| 12 Show command synopsis. |
| 13 </dd><dt><span class="term"><code class="option">--manual</code></span
></dt><dd> |
| 14 Show this manualpage. |
| 15 </dd><dt><span class="term"><code class="option">--version</code></spa
n></dt><dd> |
| 16 Show the xdg-utils version information. |
| 17 </dd></dl></div></div><div class="refsect1" lang="en"><a name="exitcod
es"></a><h2>Exit Codes</h2><p> |
| 18 An exit code of 0 indicates success while a non-zero exit code |
| 19 indicates failure. The following failure codes can be returned: |
| 20 </p><div class="variablelist"><dl><dt><span class="term"><code class="option
">1</code></span></dt><dd> |
| 21 Error in command line syntax. |
| 22 </dd><dt><span class="term"><code class="option">2</code></span></dt><
dd> |
| 23 One of the files passed on the command line did not exist. |
| 24 </dd><dt><span class="term"><code class="option">3</code></span></dt><
dd> |
| 25 A required tool could not be found. |
| 26 </dd><dt><span class="term"><code class="option">4</code></span></dt><
dd> |
| 27 The action failed. |
| 28 </dd></dl></div></div><div class="refsect1" lang="en"><a name="example
s"></a><h2>Examples</h2><p> |
| 29 </p><pre class="programlisting"> |
| 30 xdg-copy "http://portland.freedesktop.org/png/freedesktop-logo.png" . |
| 31 </pre><p> |
| 32 </p><p> |
| 33 </p><pre class="programlisting"> |
| 34 xdg-copy "/tmp/foobar.png" "/home/user/foobar-copy.png" |
| 35 </pre><p> |
| 36 </p></div></div></body></html> |
OLD | NEW |