/traverse_dir_and_execute_script

PoC script which recusively traverses directory and calls a user-defined shell script with all discovered file pathnames as argument.

Primary LanguagePython

PoC script which recusively traverses directory and calls a user-defined shell script with all discovered file pathnames as argument. (see example code)

Usage:

python3 ./traverse_and_execute.py ./tmp/testdir/