diff --git a/cheatsheets/personal/rclone b/cheatsheets/personal/rclone new file mode 100644 index 0000000..c0b6217 --- /dev/null +++ b/cheatsheets/personal/rclone @@ -0,0 +1,33 @@ +# rclone +# CLI program to copy/sync/move files and directories to and from many cloud services. +# More information: . + +# Config rclone +rclone config + +# List contents of a directory on an rclone remote: +rclone lsf remote_name:path/to/directory + +# Copy file or directory from local source to remote destination: +rclone copy path/to/source_file_or_directory remote_name:path/to/destination_directory + +# Copy file or directory from remote source to local destination: +rclone copy remote_name:path/to/source_file_or_directory path/to/destination_directory + +# Sync local source to remote destination, changing the destination only: +rclone sync path/to/file_or_directory remote_name:path/to/directory + +# Move file or directory from local source to remote destination: +rclone move path/to/file_or_directory remote_name:path/to/directory + +# Delete remote file or directory (use `--dry-run` to test, remove it to actually delete): +rclone --dry-run delete remote_name:path/to/file_or_directory + +# Mount rclone remote (experimental): +rclone mount remote_name:path/to/directory path/to/mount_point + +# Unmount rclone remote if CTRL-C fails (experimental): +fusermount -u path/to/mount_point + +# Server side Copy +rclone copy s3:oldbucket s3:newbucket diff --git a/conf.yml b/conf.yml index ce99032..d06c48e 100644 --- a/conf.yml +++ b/conf.yml @@ -8,7 +8,7 @@ colorize: true # Which 'chroma' colorscheme should be applied to the output? # Options are available here: # https://github.com/alecthomas/chroma/tree/master/styles -style: monokai +style: monokailight # Which 'chroma' "formatter" should be applied? # One of: "terminal", "terminal256", "terminal16m"