The savedfile utility is a CLI tool for managing files in a database.
This project requires Rust to be installed. After ensuring that Rust is installed, you can install the project by running the appropriate script for your system:
On Unix-like systems:
./install.shOn Windows:
install.batThe savedfile utility is primarily used through three subcommands: from, use, and remove.
The from subcommand is used to save a file to the database.
savedfile from <file> --named <name> [--version <version>]--named: What to name the provided file in the database. This argument is required.--version: The version of a file to use.
The use subcommand retrieves a file from the database.
savedfile use <name> [--save <local_name>] [--output] [--version <version>]--save: What to save the file as locally.--output: Copy the file instead of creating a link to it.--version: The version of a file to use.
The remove subcommand removes a file from the database.
savedfile remove <name> [--version <version>]--version: The version of a file to use.
The list subcommand lists all files or specific file if a name is provided in the database.
savedfile list <name>