copy
Download and upload file or folder from one storage to another storage.
copy [--recursive] [--merge | --overwrite | --skip]
Copy files from any storage to any storage.
Parameters:
- source: Absolute or relative path to source file or folder.
- destination: Absolute or relative path to storage location.
- --recursive: Optional flag to upload folders.
- --merge: Optional flag to skip existing files with the same size.
- --overwrite: Optional flag to overwrite existing files.
- --skip: Optional flag to skip existing files.
Example:
Replicate storage content.
$ explore copy /dropbox/personal/media /google_drive/archive --recursive
media: Processed 10 items with 0 errors.
$
Backup files to another source.
$ explore
explorer> copy /dropbox/personal/media /google_drive/archive --recursive --merge
media: Processed 10 items with 0 errors.
explorer>
Replace file.
$ explore copy /dropbox/personal/media/hualalai.png /google_drive/archive/hualalai.png --overwrite
$
Updated over 4 years ago