XDG-COPY(1)

NAME
xdg-copy - command line tool for copying files between desktop URIs

SYNOPSIS

xdg-copy source destination

xdg-copy {--help | --manual | --version}

DESCRIPTION

xdg-copy copies source to destination and provides visual feedback to the user during the operation. Both source and destination 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.

xdg-copy is for use inside a desktop session only. It is not recommended to use xdg-copy as root.

OPTIONS

--help
    Show command synopsis.

--manual
    Show this manualpage.

--version
    Show the xdg-utils version information.

EXIT CODES

An exit code of 0 indicates success while a non-zero exit code indicates failure. The following failure codes can be returned:

1   Error in command line syntax.

2   One of the files passed on the command line did not exist.

3   A required tool could not be found.

4   The action failed.

EXAMPLES

xdg-copy "http://portland.freedesktop.org/png/freedesktop-logo.png" .

xdg-copy "/tmp/foobar.png" "/home/user/foobar-copy.png"

AUTHORS
Kevin Krammer, Jeremy White.