Notice: This project is considered complete, and is unlikely to see any future development.
flaclink is a local Go service to automatically link downloaded FLAC albums to a directory of your choosing. flaclink uses hardlinks, so it's compatibile with Plex and other media servers. The sample systemd service runs every 12-15 minutes, but you can configure it to run as often as you'd like.
flaclink uses bbolt, an actively-maintained fork of the pure Go BoltDB embedded key/value store. bbolt is released under the MIT License.
To install the executable, use:
go get -u https://github.com/kylegentle/flaclinkNext, to install flaclink as a service, create the flaclink.service and flaclink.timer unit files under /etc/systemd/system. Sample units are provided in this repository for your reference; you'll need to modify them to fit your environment.
Then, run:
# systemctl enable flaclink.timer
# systemctl start flaclink.timerAnd you're all set!
After installation, you can run the flaclink executable by itself to run the service a single time:
flaclink <source_dir> <target_dir>