Can be run before dangerous commands to create a quick backup of the system before running it.
7 lines
172 B
Bash
Executable file
7 lines
172 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
CONFIG="${SNAP_CONFIG:-root}"
|
|
|
|
echo RUNNING: snapper --config="$CONFIG" --quiet create --description="${*//sudo /}" --cleanup-algorithm="number"
|
|
|
|
"$@"
|