
In our Documents folder, we’ve got a collection of sheet music. Our back up script is going to copy our Documents folder to our Google Drive. Make the script executable with this command: chmod +x gbk.sh Running the Back Up Script That way, if you need to change a value, you know which parameter to adjust. Some of these values are the defaults, but we’ve included them here so that we can discuss them. If the destination directory does not exist, it will be created. Subdirectories are separated by the usual “/” forward slash. Also note the colon “:” that is used as a separator between the remote storage name and the directory name. Note the use of “google-drive”, which is the name we gave to this remote connection during the the rclone config sequence. “google-drive:LinuxDocs”: The destination directory in the remote storage.“/home/dave/Documents”: The local directory to we’re going to copy to the remote storage.
#Drive scope review update#
This sets the frequency of update of the statistics to one second.

–transfers 30: This sets the number of files to copy in parallel.–verbose: Gives information about every file that is transferred.–update: Skip any files that are on the remote storage that have a modified time that is newer than the file on the local computer.copy: Copy the files from the local computer to the remote storage, skipping over files that are already present on the remote storage.usr/bin/rclone copy -update -verbose -transfers 30 -checkers 8 -contimeout 60s -timeout 300s -retries 3 -low-level-retries 10 -stats 1s "/home/dave/Documents" "google-drive:LinuxDocs" Fortunately, however, there is a tool in a recent Harvard Business Review article (by Collins and Rukstad called Can You Say What Your Strategy Is) that can. You can call it whatever makes sense to you. Type (or copy and paste) this into a text editor and save it to your computer. We’re using this as a basic form of off-site backup. This is a one-way copy to the cloud it isn’t a two-way synchronization between your Google Drive and your local computer-although rclone can do that.

The command we’re going to look at below copies files from your local computer to your Google Drive. That’s great, but it does mean there are a lot of options. The rclone application is very feature-rich.

At the “Yes, Edit, Delete” menu type “y” and then press “Enter.”Īt the final menu, type “q” and press “Enter.”
