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
examples
source
for file in ${NAUTILUS_SCRIPT_SELECTED_URIS}; do
gvfs-copy --progress ${file}
${remote_host}${remote_dir}
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