internet_ml/scripts/for_folder.sh

9 lines
121 B
Python
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"
2022-12-24 13:37:17 +00:00
touch main.tex
2022-12-23 13:40:01 +00:00
cd ..
done