include stringArray Include files matching pattern ignore-case Ignore case in filters (case insensitive) filter-from stringArray Read file filtering patterns from a file (use - to read from stdin) f, -filter stringArray Add a file filtering rule files-from-raw stringArray Read list of source-file names from file without any processing of lines (use - to read from stdin) files-from stringArray Read list of source-file names from file (use - to read from stdin) exclude-if-present stringArray Exclude directories if filename is present exclude-from stringArray Read file exclude patterns from file (use - to read from stdin) exclude stringArray Exclude files matching pattern delete-excluded Delete files on dest excluded from sync v, -verbose count Print lots more stuff (repeat for more)įlags for filtering directory listings. n, -dry-run Do a trial run with no permanent changes Important flags useful for most commands. u, -update Skip files that are newer on the destination streaming-upload-cutoff SizeSuffix Cutoff for switching to chunked upload if file size is unknown, upload starts after reaching cutoff or when file ends (default 100Ki) size-only Skip based on size only, not mod-time or checksum server-side-across-configs Allow server-side operations (e.g. refresh-times Refresh the modtime of remote files order-by string Instructions on how to order the transfers, e.g. no-update-modtime Don't update destination mod-time if files identical no-traverse Don't traverse destination file system on copy no-check-dest Don't check the destination, copy regardless multi-thread-write-buffer-size SizeSuffix In memory buffer size for writing when in multi-thread mode (default 128Ki) multi-thread-streams int Number of streams to use for multi-thread downloads (default 4) multi-thread-cutoff SizeSuffix Use multi-thread downloads for files above this size (default 256Mi) ![]() multi-thread-chunk-size SizeSuffix Chunk size for multi-thread downloads / uploads, if not set by filesystem (default 64Mi) modify-window Duration Max time diff to be considered the same (default 1ns) M, -metadata If set, preserve metadata when copying objects max-transfer SizeSuffix Maximum size of data to transfer (default off) max-duration Duration Maximum duration rclone will transfer data for (default 0s) max-backlog int Maximum number of objects in sync or check backlog (default 10000) inplace Download directly to destination file instead of atomic download to temp/rename immutable Do not modify files, fail if existing files have been modified I, -ignore-times Don't skip files that match size and time - transfer all files ignore-size Ignore size when skipping use mod-time or checksum ignore-existing Skip all files that exist on destination ![]() ignore-checksum Skip post copy check of checksums ignore-case-sync Ignore case when synchronizing cutoff-mode string Mode to stop transfers when reaching the max transfer limit HARD|SOFT|CAUTIOUS (default "HARD") copy-dest stringArray Implies -compare-dest but also copies files from paths into destination compare-dest stringArray Include additional comma separated server-side paths during comparison c, -checksum Check for changes with size & checksum (if available, or fallback to size only). check-first Do all the checks before starting transfers Options -create-empty-src-dirs Create empty source dirs on destination after copyįlags for anything which can Copy a file. Note: Use the -dry-run or the -interactive/ -i flag to test without copying anything. Note: Use the -P/ -progress flag to view real-time transfer statistics. Recently very efficiently like this: rclone copy -max-age 24h -no-traverse /path/to/src remote: Them change every day, you can copy all the files which have changed Option when copying a small number of files into a large destinationįor example, if you have many files in /path/to/src but only a few of Whether rclone lists the destination directory or not. See the -no-traverse option for controlling This applies to all commands and whether you are talking about the Written a trailing / - meaning "copy the contents of this directory". If you are familiar with rsync, rclone always works as if you had Let's say there are two files in sourcepath sourcepath/one.txt If dest:path doesn't exist, it is created and the source:path contentsįor example rclone copy source:sourcepath dest:destpath So when source:path is a directory, it's theĬontents of source:path that are copied, not the directory name and Note that it is always the contents of the directory that is synced, ![]() Want to also delete files from destination, to make it match source, Doesn't delete files from the destination. Identical on source and destination, testing by size and modification SynopsisĬopy the source to the destination. Copy files from source to dest, skipping identical files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |