The idea of this project is to make a file, compressor/decompressor, which automates file's (de)compression. Supported file extensions
are tar
, gz
, bz2
, and zip
. When compressing files, the user is given the option to select preferred compression method or
select a random compression method which is selected by the program itself. Also, the user is given the option of selecting how many
times they want the file to be compressed. For example, a user can select tar
compression method and 50
times of file compression.
For decompressing files, the user is prompted to enter the name of the file to be decompressed and then process is automated. Then
user is given the option to change the name of the file. At the end, user is given a summary showing number and time of (de)compressions
and (de)compressed file name.
$ cd && git clone https://github.com/naa7/ressor_utility.git
$ cd ressor_utility/
$ chmod +x ressor_utility.sh && ./ressor_utility.sh
For easier use of the timer without the need to navigate to its directory and run the file,
copy ressor_utility.sh
file to /usr/bin/
folder:
$ mv ressor_utility.sh ressor_utility
$ sudo cp ressor_utility /usr/bin/
Now, you can either open it from terminal
$ ressor_utility