Categories
Uncategorized

Loop through folders and files with Cygwin

An easy way to loop through folder and associated files with Cygwing:

for dir in `find . -type d`
do
for file in `ls $dir`
echo $file
done
done