Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-20 00:20:58 +00:00
parent 846fc1563d
commit a360d4dc45
153 changed files with 493 additions and 434 deletions

View File

@@ -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]}}`