Repository to hold all scripts used for building and deploying projects of all required programming languages. Scripts should be self-updating.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SigScript/utils/search.sh

14 lines
271 B

function search() {
FILES=$(ls $1)
for f in $FILES
do
if [ -d $1$f ];
then
echo "$1$f is a directory"
search $1$f/
else
echo "$1$f is a file"
md5sum < $1$f >> $1md5
fi
done
}