Using Rclone

Some common use cases

Get list of all buckets

$ rclone lsd <remote_name>:

Create a new bucket

$ rclone mkdir <remote_name>:mybucket

Get a list of all objects in a bucket

$ rclone ls <remote_name>:mybucket

Download files file.txtfrom a bucket

$ rclone copy <remote_name>:mybucket/file.txt fichier.txt


Some advanced use cases

Synchronize a folder /home/user/documentswith a bucket

$ rclone sync /home/user/documents <remote_name>:mybucket

Copy a file in a folder /home/user/file.txtinto a bucket

$ rclone copy /home/user/file.txt <remote_name>:mybucket

Last updated