7 Jul
2010
7 Jul
'10
6:45 a.m.
Try this: for i in `ls /path/to/dir`; do # i is set here, only when it contains something.. echo $i; done;