Go Archive It!
A lightweight archive management utility with YAML based configuration.
In a world where your files and data are increasingly stored and controlled by large corporations, there are those who wish to take that power back. However, with great power comes great responsibility, and it is important to practice good data stewardship. A good place to start is by keeping rolling backups, a process which Go Archive It aims to make as straightforward and painless as possible.
Documentation
Full documentation available here
Usage
- I reccommend using a cronjob to automate your archives
- The program looks for a config file at
~/.config/go-archive-it/config.yaml
Arguments
-h, help
-e, ext
- Runs the program based on a file at
~/.config/go-archive-it/ext.yaml
- Configuration is the same as running the program with the default path
- Intended for archiving onto an external drive with preconfigured options
-i, init [NAME]
- Initialize a named config file at
~/.config/go-archive-it/[NAME].yaml
-p, path [NAME]
- Run the program withthe named config file at
~/.config/go-archive-it/[NAME].yaml
Help
Usage: go-archive-it [OPTION] ...
---------------------------------
-h, help Display this help message
-e, ext Use external config file (~/.config/go-archive-it/ext.yaml)
-i, init [NAME] Initialize named config file (~/.config/go-archive-it/[NAME].yaml)
-p, path [NAME] Use named config file (~/.config/go-archive-it/[NAME].yaml)
---------------------------------
Running with no arguments will use the default config file (~/.config/go-archive-it/config.yaml)
Installation
Homebrew (MacOS)
brew tap korbexmachina/tap
brew install go-archive-it
Roadmap
-e
as an alternative to the ext
argument
-p
argument for passing an arbitrary filename for configuration, to allow for as many user configurations as needed
-h
argument for help
init
/-i
argument for initializing config files with arbitrary names
- Default config initialization option (templates)
- Archive the path beggining at the directory being archived rather than including the directories above it
- The program does currently ignore their other contents, but the nesting is still mildly annoying when accessing the archives
Dependencies
yaml.v3 - see notice.md
for details