hardcpy

Crates.iohardcpy
lib.rshardcpy
version0.2.1
sourcesrc
created_at2024-08-01 14:21:45.061926
updated_at2024-08-31 19:41:37.220744
descriptionSimple backup tool written in Rust
homepagehttps://github.com/obvMellow/hardcpy
repositoryhttps://github.com/obvMellow/hardcpy
max_upload_size
id1322094
size106,632
(obvMellow)

documentation

README

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
Commit count: 0

cargo fmt