mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 13:00:03 +00:00
Update cheatsheets
This commit is contained in:
@@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Copy files changed within the past 24 hours to a remote from the local machine, asking the user to confirm each file:
|
||||
|
||||
`rclone copy --interactive --max-age 24h {{remote_name}}:{{path/to/directory}} {{path/to/local_directory}}`
|
||||
`rclone copy {{[-i|--interactive]}} --max-age 24h {{remote_name}}:{{path/to/directory}} {{path/to/local_directory}}`
|
||||
|
||||
- Mirror a specific file or directory (Note: Unlike copy, sync removes files from the remote if it does not exist locally):
|
||||
|
||||
@@ -30,7 +30,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Delete a remote file or directory (Note: `--dry-run` means test, remove it from the command to actually delete):
|
||||
|
||||
`rclone --dry-run delete {{remote_name}}:{{path/to/file_or_directory}}`
|
||||
`rclone {{[-n|--dry-run]}} delete {{remote_name}}:{{path/to/file_or_directory}}`
|
||||
|
||||
- Mount rclone remote (experimental):
|
||||
|
||||
@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Unmount rclone remote if `<Ctrl c>` fails (experimental):
|
||||
|
||||
`fusermount -u {{path/to/mount_point}}`
|
||||
`fusermount {{[-u|--update]}} {{path/to/mount_point}}`
|
||||
|
||||
Reference in New Issue
Block a user