- First clone my repository
git clone https://github.com/mavinsi/gbman
- Give execution permission to the script
sudo chmod +x install.sh
- now run the install script
sudo ./install.sh
To create your directory to throw your garbage is very simple just type: gbman create
or gbman cr
gbman create
[GarbageMan] - Created garbage collection directory.
To upload your file to the collection directory, just type: gbman get filename/directory
> gbman get useless_files.jar
[GarbageMan] - Looking for useless_files.jar
[GarbageMan] - trash collected
To dispose of your garbage, in gbman we have 2 options, a light one where your files are sent to /tmp/ on your system and another where they are automatically removed.
To soft clean just type: gbman clean
or gbman cl
> gbman clean
[GarbageMan] - I found 1 trash's files
[GarbageMan] - Your garbage has been collected
To hard clean just type: gbman cleanf
or gbman clr
> gbman cleanf
[GarbageMan] - i found 1 trash's files
[GarbageMan] - incinerate your trash