A simple command line wrapper for rclone focused on easy folder syncing
rcl - A simple command line wrapper for
rcl is a simple command line wrapper for rclone focused on easy folder syncing. It is loosely based on git's interface and therefore uses the concepts of "local" and "remote" along with having commands such as
Feel free to raise any issues, suggest improvements and features or fork and contribute.
rcl only acts as a wrapper around
rclone, you therefore must first install and configure rclone and ensure that it is properly accessible on your
rcl is available on PyPI and can be installed by running
pip install rcl.
Note: It is possible that pip will warn you that the install location is not on your
$PATH. If so,
rcl may not be found until you add the directory shown in the warning to your
rcl you add entries which consist of local/remote folder pairs. You can then interact with these entries like they're a connected system.
The folder values you add to entries will directly match what rclone uses and should conform to rclone's interface of:
- Local Folder:
- Remote Folder:
||Outputs the help and a list of commands.|
||Add a new entry, identified by
||Show the difference between the local and remote folder.|
||List all entries.|
||Pull remote changes to your local. (Sync local to match remote).|
||Push local changes to the remote. (Sync remote to match local).|
||Remove an entry.|
||Add a new "music" entry linking the default Linux Music folder with a top-level "Music" folder in a remote called "gdrive".|
||Push local changes to the remote. (Sync remote with local).|
||Pull remote changes to your local. (Sync local with remote).|
||Remove the "music" entry.|
pullcan both be run with the
--dryflag which will add
--dry-runto the rclone command.
pullautomatically add the
--progressflag to the rclone command.
rclcan be run from any directory as it will always run rclone using the local/remote folders from the entry specified.
- Opinionated - This wrapper offers a simple interface for specific aspects of syncing I use.
- Manual External Setup - rclone still has to be setup externally prior to use.
- No Input vAl1dation - None of the values supplied to the
addcommand are validated in any way.
- Error Handling - There is some python error handling on
rcl rmbut nothing protecting against invalid inputs to
rcl addor rclone errors.
rcl is release under the GNU GPLv3 license so you can use and adapt as you wish.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.