compress_history

Crates.iocompress_history
lib.rscompress_history
version0.2.0
sourcesrc
created_at2020-01-03 07:01:00.568948
updated_at2021-08-04 15:50:47.816126
descriptiondelete unnecessary history
homepagehttps://crates.io/crates/compress_history
repositoryhttps://gitlab.com/Toru3/compress_history
max_upload_size
id194724
size16,065
(Toru3)

documentation

https://docs.rs/compress_history/

README

compress_history

Crate pipeline status

Example

$ cat history 
echo "hallo"
echo "hello"
ping 192.168.0.1
ping 192.168.0.2
ping 192.168.0.3
ping 192.168.0.4
ls -l
ls -a
$ compress_history -f history 
echo "hello"
ping 192.168.0.4
ls -l
ls -a

Usage

$ compress_history --help
Toru3 <ryuutet@gmail.com>
delete unnecessary history

USAGE:
    compress_history [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -f, --file <FILE>    Target history file [default: /home/user/.bash_history]

LICENSE

AGPL-3.0-or-later

Commit count: 33

cargo fmt