My tribute to an old file compressor 🤓
A blast from the past - Said no one
This is a cli for node-uharc with the purpose of bringing uharc to unix plattform as well.
Uharc was a file compression for windows only. It uses Wine for compability with Unix systems.
- Ubuntu and apt-get systems: will ask for sudo so that it can install Wine. You can check the install script here.
- MacOS: it uses homebrew to install wine, and by default no Homebres package ask for sudo. But apparently for a issue with brew in High Sierra it needs to re-gain ownership of the downloaded files. You can check the install script here.
npm install -g nuharc
nuharc
then follow the on-screen choices
or
nuharc a
to compress all files and directories in the current directory recursively to a file named opt.uha
nuharc x
to extract the opt.uha
file present in the current directory to a opt
folder.