Rclone website is a tool for data transfer to and from a variety of sources including your local machine. A few commands for interacting with Google Drive and transferring data to and from a local machine is shown below.

Use the following to setup your remote for Google gdrive

rclone config

To list remotes

rclone listremotes


To list the directories in this drive

rclone lsd remote_google:

To list all the files

rclone ls remote_google:

To list usage statistics

rclone about remote_google:

Used:    45.899G
Trashed: 475.183M
Other:   8.305G

To copy a file or a folder from the remote drive to your local folder with verbose output (-v)

rclone copy remote_google:FOLDER LOCAL_FOLDER/

To copy all files that match a certain extension use

rclone -v copy --include *.{docx} remote_google: LOCAL_FOLDER