Uninstall_bash_tool
This script is meant to uninstall copy_installed software.(这个脚本是用来卸载以拷贝覆盖的方式安装的软件)
How to use
First of all, you have to make the uins.sh executable by running #chmod +x uins.sh
.
The usage of this script is as follow:
#uins.sh \<reference dir\> \<target dir\>
Say you install your software this way:
cp someDir/* /
the structure of someDir is:
someDir
bin
somefile
someOtherFile
...
lib
somefile
someOtherFile
...
...
So once the files are installed, to delete those by hand will be painful.That's when this script come in and save the day.
So in the command shown above, reference dir will be someDir and the target dir will be /