Linux Commands Examples

A great documentation place for Linux commands

gvfs-copy

Copy files


see also : cp

Synopsis

gvfs-copy [OPTION...] [SOURCE] [DEST]

gvfs-copy [OPTION...] [SOURCE...] [DIRECTORY]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
for file in ${NAUTILUS_SCRIPT_SELECTED_URIS}; do
gvfs-copy --progress ${file} ${remote_host}${remote_dir}
0
source
            
for file in ${NAUTILUS_SCRIPT_SELECTED_URIS}; do
errorMsg="${errorMsg}$( gvfs-copy --progress ${file} ${remoteHost}${remoteDir} 2>&1 1>/dev/null )\n"

description

gvfs-copy copies a file from SOURCE to DEST, or multiple SOURCEs to DIRECTORY.

gvfs-copy is similar to the traditional cp utility, but using gvfs locations instead of local files: for example you can use something like smb://server/resource/file.txt as location.

options

The following options are understood:

-h, --help

Prints a short help text and exits.

-T, --no-target-directory

Don't copy into DEST even if it is a directory.

-p, --progress

Show progress.

-i, --interactive

Prompt before overwriting files.

--preserve

Preserve all attributes.

-b, --backup

Backup existing destination files.

-P, --no-dereference

Never follow symlinks.

exit status

On success 0 is returned, a non-zero failure code otherwise.

gvfs copy [option ]

[SOURCE...] [DIRECTORY]
see also

cp

How can this site be more helpful to YOU ?


give  feedback