Forrest logo
back to the rclone tool

rclone:tldr:a328a

rclone: Sync local source to remote destination, changing the destination only.
$ rclone sync ${filename_or_directory} ${remote_name}:${path-to-directory}
try on your machine

This command is using the rclone software to synchronize files or directories between a local location and a remote storage destination.

Here is a breakdown of the command structure:

rclone sync: This is the primary command of the rclone software, used for synchronizing files between two different locations.

${filename_or_directory}: This is a placeholder for the name of the file or directory that you want to synchronize. You need to replace it with the actual name or path of the file or directory you wish to sync.

${remote_name}:${path-to-directory}: This is another placeholder representing the remote storage destination where you want to synchronize the files. ${remote_name} refers to the name of the remote storage configuration you have set up using rclone, which could be something like "s3" for Amazon S3 or "gdrive" for Google Drive. ${path-to-directory} is the location in the remote storage where you want to sync the files.

Ensure that you substitute the placeholders with the required values to execute the command properly.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the rclone tool