Skip to content

Instantly share code, notes, and snippets.

@jsburklund
Created August 28, 2018 03:54
Show Gist options
  • Save jsburklund/3321b49d2fc6c41cd853091810e543cb to your computer and use it in GitHub Desktop.
Save jsburklund/3321b49d2fc6c41cd853091810e543cb to your computer and use it in GitHub Desktop.
Do something in a particular set of subdirectories
for D in `find . -type d -name "2018-0[6,7]-??"`
do
echo "" > $D/symphony.py.log
echo "" > $D/airflow-log-cleanup.py.log
# Do other stuff in the subdirectory
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment