internet_ml/scripts/for_folder.sh

9 lines
124 B
Bash
Raw Normal View History

2022-12-23 13:40:01 +00:00
#!/bin/bash
for d in */ ; do
[ -L "${d%/}" ] && continue
echo "$d"
cd "$d"
touch __init__.py
cd ..
done