Safely delete and restore files and directories.
If you've got rust
installed with rustup
then just:
bash
git clone https://github.com/kove-w-o-salter/tman
cd ./tman
cargo build --release
cp ./target/release/tman ~/.local/bin/tman
and you're good to go.
```
$ tman --help
USAGE:
tman
ACTIONS:
--delete -D
test.txt
, test1.txt
, test2.txt
and test3.txt
to the trash run:
bash
tman -D test{,1,2,3}.txt
test.txt
, test1.txt
, test2.txt
and test3.txt
to the trash run:
bash
tman -R test{,1,2,3}.txt
Settings are stored in ~/.tman/settings.json
. The current available settings are:
* use_unicode
: set to true
if you want to see unicode characters in your output, otherwise set to false
. Defaults to false
.
* use_colors
: set to true
if you want to see ANSI formatting in your output, otherwise set to false
. Defaults to false
.
Any feedback or contributions will be examined and potentially accepted A.S.A.P. So feel free to open issues or PRs.
I'm simply a high-school student with an enjoyment of coding and computer science. As such, I cannot guarentee the code quality of this repo.