Note that files in the destination won't be deleted if there were dry-run flag to see exactly what would be copied and Important: Since this can cause data loss, test first with the Sync the source to the destination, changing the destination only.ĭestination is updated to match source, including deleting files if Make source and dest identical, modifying destination only. create-empty-src-dirs Create empty source dirs on destination after copy Rclone copy -max-age 24h -no-traverse /path/to/src remote: Them change every day, you can to copy all the files which have changed Supplying this option when copying a small number of files into a largeĭestination can speed transfers up greatly.į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 (/docs/#no-traverse) option for controlling This applies to all commands and whether you are talking about the Had written a trailing / - meaning "copy the contents of this If you are familiar with rsync, rclone always works as if you Let's say there are two files in sourcepath Rclone copy source:sourcepath dest:destpath If dest:path doesn't exist, it is created and the source:path Of source:path that are copied, not the directory name and contents. The directory so when source:path is a directory, it's the contents Note that it is always the contents of the directory that is synced, not
Print (decrypted) config file, or the config for a single remote.Ĭopy files from source to dest, skipping already copiedĭoesn't transfer unchanged files, testing by size and modificationĭoesn't delete files from the destination. In JSON format all the providers and options. Create a new remote with name, type and options. See the global flags page ( ) for global options
You may also set or remove a password to protect your configuration.
Rclone sync /local/path remote:path # syncs /local/path to the remoteĮnter an interactive configuration session.Įnter an interactive configuration session where you can setup new Rclone copy /local/path remote:path # copies /local/path to the remote You can define as many storage paths as you like in the config file. "drive:myfolder" to look at "myfolder" in Google drive. Storage system in the config file then the sub path, eg Source and destination paths are specified by the name you gave the Rclone syncs a directory tree from one storage system to another. Openstack Swift / Rackspace Cloudfiles / Memset See the following for detailed instructions forĭigitalOcean Spaces (/s3/#digitalocean-spaces) The easiest way to make the config is to run rclone with the config
(See the -config entry for how to find the config file and Īs the object storage systems have quite complicated authentication.HTTP ( )/WebDav ( )/FTP ( )/SFTP ( )/dlna ( )
Partial syncs supported on a whole file basisĬan sync to and from network, eg two different cloud accounts MD5/SHA1 hashes checked at all times for file integrity