linux loop through list of files code example Example: bash iterate over list of files FILES="/path/to/files*" for FILE in $FILES ; do echo $FILE ; done