for i in `seq -w 1 31`;do touch 2013.07.$i.txt;done $ for i in `seq -w 1 31`;do touch test.2013.07.$i.txt;done $ ll total 0 -rw-r--r-- 1 okisanjp staff 0 7 13 07:52 test.2013.07.01.txt -rw-r--r-- 1 okisanjp staff 0 7 13 07:52 test.2013.07.02.txt -rw-r--r-- 1 okisanjp staff 0 7 13 07:52 test.2013.07.03.txt -rw-r--r-- 1 okisanjp staff 0 7 13 07:52 test.2013.07.04.txt -rw-r--r-- 1 okisanjp staff 0 7