internet_ml/scripts/for_folder.sh

9 lines
124 B
Bash

#!/bin/bash
for d in */ ; do
[ -L "${d%/}" ] && continue
echo "$d"
cd "$d"
touch __init__.py
cd ..
done