Skip to content

Instantly share code, notes, and snippets.

@xsukax
Created October 23, 2015 12:52
Show Gist options
  • Save xsukax/e964f5803e3b58ada753 to your computer and use it in GitHub Desktop.
Save xsukax/e964f5803e3b58ada753 to your computer and use it in GitHub Desktop.
Search for files Script.sh
#!/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