I\'m looping through certain files (all files starting with MOVIE) in a folder with this bash script code:
for i in MY-FOLDER/MOVIE* do
whi
With the nullglob option.
nullglob
$ shopt -s nullglob $ for i in zzz* ; do echo "$i" ; done $