mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-13 09:59:18 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Create a snapshot using a configuration file:
|
||||
|
||||
`sudo rusnapshot --config {{path/to/config.toml}} --cr`
|
||||
`sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} --cr`
|
||||
|
||||
- List created snapshots:
|
||||
|
||||
`sudo rusnapshot -c {{path/to/config.toml}} --list`
|
||||
`sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} {{[-l|--list]}}`
|
||||
|
||||
- Delete a snapshot by ID or the name of the snapshot:
|
||||
|
||||
`sudo rusnapshot -c {{path/to/config.toml}} --del --id {{snapshot_id}}`
|
||||
`sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} --del --id {{snapshot_id}}`
|
||||
|
||||
- Delete all `hourly` snapshots:
|
||||
|
||||
`sudo rusnapshot -c {{path/to/config.toml}} --list --keep {{0}} --clean --kind {{hourly}}`
|
||||
`sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} {{[-l|--list]}} {{[-k|--keep]}} {{0}} --clean --kind {{hourly}}`
|
||||
|
||||
- Create a read-write snapshot:
|
||||
|
||||
`sudo rusnapshot -c {{path/to/config.toml}} --cr --rw`
|
||||
`sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} --cr {{[-r|--rw]}}`
|
||||
|
||||
- Restore a snapshot:
|
||||
|
||||
`sudo rusnapshot -c {{path/to/config.toml}} --id {{snapshot_id}} --restore`
|
||||
`sudo rusnapshot {{[-c|--config]}} {{path/to/config.toml}} --id {{snapshot_id}} {{[-r|--restore]}}`
|
||||
|
||||
Reference in New Issue
Block a user