moving files around

Last updated on 2024-03-27 | Edit this page

moving files around


Rclone is most frequently used to move files, individually or as a group from one place to another.

The syntax for the places, to or from is:

source:folder destination:folder

or

local/path remote/path

valid remote names


https://rclone.org/docs/#valid-remote-names

more examples:

rclone ls remote:path # lists contents of a remote rclone copy /local/path remote:path # copies&& /local/path to the remote rclone sync** –interactive /local/path remote:path # syncs /local/path to the remote

my home backup to an external drive (windows using linux subsystem)

rclone sync /mnt/d/work-related /mnt/f/work-related-backup

Different operating systems have slightly different syntax


Windows syntax: rclone ls C: Linux syntax: rclone ls /mnt/c/Users/jjamison/rclone

Reference:


https://rclone.org/docs/#subcommands

Windows https://rclone.org/docs/#windows

Linux https://rclone.org/docs/#linux-osx