Skip to content
Snippets Groups Projects
Commit e90a7d3b authored by Kenneth Hiemstra's avatar Kenneth Hiemstra
Browse files

bash script to auto run all generate_ip.sh scripts in all subdirectories

parent 8f536769
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
files=`find . -name 'generate_ip.sh' `
echo -e "About to generate the following IP blocks:\n$files\n"
for f in $files ; do
cd `dirname $f`
echo
echo -n "Entering directory: "
pwd
echo
./`basename $f`
cd -
done
echo "Done"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment