]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - tools/finder.sh
2 # Verson 0.1 by linuxadmin
3 # sucht in allen regulären Files nach dem eingegebenen Wert
4 # ACHTUNG DAS KANN EINIGE MINUTEN DAUERN !!!
7 echo -n "Where: " ;read wo
8 echo -n "String: " ;read was
9 echo -n "Output to file? (y/n): " ;read jn
11 if [ "$jn" = "y" ]; then
12 echo "Creating log file $name"
13 find $wo -type f |
xargs grep -in "$was" > $name
15 find $wo -type f |
xargs grep -in "$was"