This script needs to have some additional packages to be installed on your system to work. It will install these dependencies for you automatically. These dependencies are,
cowsay
toilet
Hit enter or y for 'Yes' if it asks you to continue to install dependencies.
-
Clone the repository
git clone https://github.com/dru18/CheckFile.git
-
Enter into CheckFile directory.
cd CheckFile
-
Run the install.sh file to install the script 'install.sh' automatically.
sudo bash install.sh
-
Done! Now you are ready to search any file or directory using this script. Here are some examples for you.
checkfile regularfile
checkfile testdir/
checkfile executablefile.sh
-
If you give no parameter it suggest you to give any parameter to search for.
-
Run the uninstall.sh file to uninstall the script and it's dependencies.
sudo bash uninstall.sh
Hit enter or y for 'Yes' if it asks you to continue to uninstall dependencies.