From ea82b7c6f515fdb20bc4520617a64ded28653531 Mon Sep 17 00:00:00 2001 From: Jarno Rankinen <50285623+0ranki@users.noreply.github.com> Date: Sun, 2 Aug 2020 20:32:41 +0300 Subject: [PATCH] Update README.md Added list option description --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index cf65405..0c00b14 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,4 @@ Btrfs snapshot managing bash script - Will create a subvolume named snapshots by default to the toplevel. This can also be changed with `SNAPSHOTS_LOCATION`. - Display usage instructions with `snapsh -h` or `snapsh --help` - Taking snapshots requires root priviledges. Take a snapshot with `snapsh -s SUBVOLUME` or `snapsh --snapshot SUBVOLUME`, where `SUBVOLUME` is the name of the source subvolume. You can add a description for the snapshot with the `-d | --description` option (must be used before the `-s` option)

Example with Fedora default btrfs layout with `root` and `home` subvolumes:
`snapsh -d "This is a snapshot" -s root`
This will create a snapshot called `root_snapshot_YYYY.MM.DD-hh:mm:ss` to the `snapshots` subvolume (or the one you defined with `SNAPSHOTS_LOCATION`), with a description "This is a snapshot" +- Snapshots can be listed with `snapsh -l` or `snapsh --list`