Harsh Shandilya 2456dbe068 | ||
---|---|---|
.cargo | ||
.github | ||
.vscode | ||
src | ||
.git-blame-ignore-revs | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md | ||
audit.toml | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
release.toml | ||
rust-toolchain.toml | ||
shell.nix |
README.md
file-collector
I often run into an annoying problem where every game I play stores in-game screenshots into a different hard-to-access directory and it becomes a pain to hunt them down when I want to share one of them.
This simple tool aims to resolve that using the concept of a bucket, where you define a number of source directories from where files should be picked up from and a target directory where they should be moved to.
Usage
Configuration
An example config file can look something like this:
# ~/.config/collector/config.toml
[bucket]
name = "Screenshots"
sources = [
"/mnt/mediahell/MultiMC/instances/Fabulously-Optimized-4.1.0-beta.2/minecraft/screenshots",
"/mnt/mediahell/MultiMC/instances/Fabulously Optimized 4.2.0-beta.1/.minecraft/screenshots"
]
target = "/mnt/mediahell/screenshots"
Running
Clone this repository and run cargo run --release
. You will require a Rust installation.
Licensing
Dual licensed under Apache 2.0 or MIT at your option.