Bash/LoopOverFiles

From ProgrammingExamples
Jump to: navigation, search

This example loops over all of the png files in the current directory and calls ls on them.

LoopOverFiles.sh

for i in *.png; do ls $i; done;