rucksack/README.md

1.7 KiB

rucksack No Maintenance Intended Built with Garnix

rucksack is a simple file moving service that was built to solve the use case of watching a collection of directories and collecting all there files into a single target directory.

The idea for this was born from the frustration of playing games and wanting to share screenshots from them with my friends. Every game likes to hide its screenshots in a specific obscure path which made it harder to find them when I needed to. With rucksack they can all neatly stay in a single folder making discoverability significantly easier.

Usage

Configuration

An example config file can look something like this:

# ~/.config/rucksack.toml
name = "Screenshots" # Optional
sources = [
  "/mnt/Games/Minecraft/screenshots",
  "/c/Users/Harsh Shandilya/Pictures/God Of War"
]
target = "/mnt/mediahell/screenshots"
file_filter = "*.png"

Running

Prebuilt binaries for macOS and Linux can be installed from here.

rucksack uses watchman to power its file-watching capabilities. You can find the steps to install it for your own platform here.

To build from source, clone this repository and run cargo run --release. You will require a Rust installation.

rucksack is only tested against the latest stable release of Rust but a few versions older should also be fine.

Licensing

Dual licensed under Apache 2.0 or MIT at your option.