Rclone for scrubs
Table of Contents
Installation: ................................................................................................................................................... 2
Windows: .................................................................................................................................................. 2
Linux/MacOS: ............................................................................................................................................ 2
Verify the installation .................................................................................................................................... 4
Configuration ................................................................................................................................................ 5
Google drive .............................................................................................................................................. 5
FTP............................................................................................................................................................. 5
Other Storage systems .............................................................................................................................. 6
Configuration file ...................................................................................................................................... 6
1
Installation:
Windows:
1. Download the appropriate rclone binary from [Link]
2. Unzip it
3. (Optional) Do either one of those steps
a. Move the executable to C:\Windows\System32
b. Create the directory C:\Program Files\rclone
i. Move the executable to this folder
ii. Append C:\Program Files\rclone\ to the PATH environment variable
iii. If you currently have a command prompt opened, you will need to restart it for
the environment variables to refresh
Linux/MacOS:
1. Install curl with your preferred package manager
2. Run curl [Link] | sudo bash
2
Step 3.b in images
Move executable to Program Files directory
Open System properties and click
on Environment Variables...
Edit System variables Add a new path
3
Verify the installation
Open a terminal or command prompt (Windows: Win+R, type cmd)
In the command prompt, type rclone --version. The expected output is:
4
Configuration
Google drive
1. Type rclone config
2. Choose any name
3. Choose n) New remote
4. Choose 11) Google drive
5. Leave Google Application Client Id and Google Application Client Secret blank (Press Enter)
6. Choose 1) Full access all files
7. Leave ID of the root folder and Service Account Credentials JSON file path blank
8. Choose n) no for Advanced config
9. Choose y) yes for Use auto config
10. Follow the instructions in your browser. You should see a success page when it is done
11. Choose n) no for Configure as a team drive
12. Choose y) Yes this is OK
13. Choose q) Quit config
FTP
1. Type rclone config
2. Choose n) New remote
3. Choose any name
4. Choose 9) FTP Connection
5. Type in the FTP host (And make sure you don’t enter a private IP address)
6. Type in the FTP username
7. Type in the port (Leave blank if unsure)
8. Choose y) Yes type my own password and enter the password
9. Choose y) Yes this is OK
10. Choose q) Quit config
5
Other Storage systems
Please visit [Link] for information on how to setup rclone with other storage
systems.
Configuration file
1. Navigate to C:\Users\%USERNAME%\.config\rclone (Windows) or ~/.config/rclone (Linux)
2. Open [Link] with any text editor
3. The contents of this file is what you need to share to -Archivist. For Google drive, it should look
like this:
[example]
type = drive
scope = drive
token = {"access_token":"9.GlsMdfsBtU6NFJAmej2awdw83geA-T7mTi_9kVDojtK-
Ws0quextDU63_dwa21jIPdFELBvaVR2D1nanJmFXazm_SW4Rdfsfdz1RjiV5qu8Z65TE","token_type":"Bearer","refresh_token":"1/8bF8u
nXIy1JoCMk5vPmm-Sww7a27aadsdwMZ","expiry":"2018-09-02T[Link].2170124-03:00"}