This line:
move("$File::Find::name, -d","$dir.$_")
will try to move (for example) a file named foo.bar, -d to a file \mlx\foo.bar, -d. Are you really sure that you have files that have , -d at the end of their filename?
Also, File::Find::find wants some directories to search, so you should give it some.
In reply to Re: Move using File::Find
by Corion
in thread Move using File::Find
by grashoper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |