Is your system command inside the loop? (That is, before the closing }.) It should be.
Also you seem to inconsistently refer to $fil_nm and $filnm; these are different variable names, so if you mix them up randomly in your code, that will cause odd results.
In reply to Re: moving files
by tobyink
in thread moving files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |