I am trying to move the huge no of file into different folder..
the files in the style of "HNI [0-9]{3}.*.jpg"
i.e
HnI 001.Sunday Party.jpg
HnI 002.Car.jpg
.
.
.
and so on
I want to place the certian no of files in the single folder
like.. . mv file1 file2.... fileN destination
i tested with something like ....
$for i in *.jpg; do n=`echo $i |cut -b 5-7`; if [ $(($n > 30)) ]; then echo $n; fi; done;
025
026
027
bash: 028: value too great for base (error token is "028")
can't understand what the problem...
and is there any easy method Pls Help!