Created
October 23, 2015 12:52
-
-
Save xsukax/e964f5803e3b58ada753 to your computer and use it in GitHub Desktop.
Search for files Script.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "------------------------------" | |
echo "xsukax File Search Bash Script" | |
echo "------------------------------" | |
echo -n "Enter Search Location (ex. /root/Desktop): " | |
read loc; | |
echo "----------------------------------------" | |
echo -n "Enter file name (ex. list.txt, *.sh, *.*): " | |
read fn; | |
echo "----------------------------------------" | |
find $loc -name "$fn" | |
echo "-------------------------------" | |
echo "S E A R C H - - F I N I S H E D" | |
echo "-------------------------------" | |
sleep 1000000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment