3 unstable releases

0.2.1 Aug 31, 2024
0.2.0 Aug 9, 2024
0.1.0 Aug 1, 2024

#694 in Command line utilities

GPL-3.0-or-later

41KB
1K SLoC

Build hardcpy

hardcpy

Simple backup tool written in Rust

Installation

Prebuilt Binary

Install the latest binary from Releases

AUR

On Arch Linux you can install the pre-built binary from the AUR

git clone https://aur.archlinux.org/hardcpy-bin.git
cd hardcpy-bin
makepkg -si
pacman -U hardcpy-bin-{Insert Version}-x86_64.pkg.tar.zst

Or you can use a wrapper such as yay

yay -S hardcpy-bin

Compiling From Source

AUR

Run the following commands

git clone https://aur.archlinux.org/hardcpy-git.git
cd hardcpy-git
makepkg -si
pacman -U hardcpy-git-{Insert Version}-x86_64.pkg.tar.zst

Other distributions / Windows

Make sure you have cargo installed

You should be getting something like the following

$ cargo --version
cargo 1.80.0 (376290515 2024-07-16)

Clone the repo and build the project

git clone https://github.com/obvMellow/hardcpy.git
cd hardcpy
cargo build --release

Using Cargo

You can simply install it with the following command

cargo install hardcpy

And make sure you have ~/.cargo/bin in your $PATH

export PATH=$HOME/.cargo/bin:$PATH

Dependencies

~39MB
~637K SLoC