Created
September 10, 2017 19:30
-
-
Save iwouldnot/0c6feb7d471180f3c44cce67a3d64587 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
cd $1 | |
shopt -s nulglob | |
for f in * ; do | |
if [[ $f == *"$2"* ]] ; then | |
echo $f in $PWD ; | |
fi | |
done | |
for d in */ ; do | |
bash ~/lab3/custom_find.sh $PWD'/'$d $2 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment