Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danlooo/nautilus-btrbk
File version links in Nautilus using btrbk snapshots
https://github.com/danlooo/nautilus-btrbk
Last synced: 7 days ago
JSON representation
File version links in Nautilus using btrbk snapshots
- Host: GitHub
- URL: https://github.com/danlooo/nautilus-btrbk
- Owner: danlooo
- Created: 2024-02-03T20:04:30.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-04T16:46:40.000Z (12 months ago)
- Last Synced: 2024-11-25T16:37:24.755Z (2 months ago)
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nautilus-btrbk: Open file versions in nautilus context menu
## Setup
First, install btrbk and create some snapshots.
Then, install the extension for the Nautilus file manager:```
sudo apt install -y python3-nautilus xdg-utils
curl https://raw.githubusercontent.com/danlooo/nautilus-btrbk/main/nautilus-btrbk.py > ~/.local/share/nautilus-python/extensions/nautilus-btrbk.py
chmod +rx ~/.local/share/nautilus-python/extensions/nautilus-btrbk.py
```
Now, there is a context menu entry called "Open Versions" in Nautilus.Example btrbk config file in `/etc/btrbk/btrbk.conf` with btrfs subvolumes `/` and `/home` and snapshot directories e.g. `/home/.snapshots`:
```
volume /
subvolume .
snapshot_name root
snapshot_dir .snapshotsvolume /home
subvolume .
snapshot_name home
snapshot_dir .snapshots
```