- 
Download and install rclone to your $HOME/bin directory. Setup up rclone to connect to your google drive. Suppose you call your remote google drive drive.
- 
Create a bash script called backup_gdrive.shwith the following information
#!/bin/sh
STUDY_DIR=STUDY
LOCAL_DIR=${SCRATCH}/${STUDY_DIR}