Simple CLI tool to watch directories and move their files to a single dumping ground
Go to file
Harsh Shandilya 6dd4d40579 chore: migrate to cargo-audit 2023-02-03 15:56:24 +00:00
.github feat(ci): disable GHA workflow 2023-01-23 18:54:45 +00:00
.vscode chore: add `rust-analyzer` settings 2022-08-15 15:44:19 +05:30
src fix: simplify `main` 2022-12-25 16:21:58 +00:00
.gitignore Initial commit 2022-07-10 17:56:41 +05:30
Cargo.lock chore(release): bump file-collector to version 0.2.6 2022-12-24 07:40:13 +00:00
Cargo.toml chore(release): bump file-collector to version 0.2.6 2022-12-24 07:40:13 +00:00
LICENSE-APACHE chore: add README and license files 2022-08-10 15:26:07 +05:30
LICENSE-MIT chore: add README and license files 2022-08-10 15:26:07 +05:30
README.md fix(readme): remove GHA badge 2023-01-28 18:23:40 +00:00
audit.toml chore: migrate to cargo-audit 2023-02-03 15:56:24 +00:00
default.nix feat(nix): add flake-compat 2023-02-03 15:48:25 +00:00
flake.lock feat(nix): add flake-compat 2023-02-03 15:48:25 +00:00
flake.nix chore: migrate to cargo-audit 2023-02-03 15:56:24 +00:00
release.toml chore(release): update cargo-release config 2022-12-09 18:02:27 +00:00
rust-toolchain.toml feat(nix): expand default checks and switch CI to Flakes 2022-12-17 05:02:56 +00:00
shell.nix feat(nix): add flake-compat 2023-02-03 15:48:25 +00:00

README.md

file-collector No Maintenance Intended

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.