The problem is likely related to the command line. I would suggest you do the move in perl:
use File::Copy; move('source.file','dest.file')
See: https://metacpan.org/pod/File::Copy
In reply to Re: Why does system("mv $x $y") not work when it works at the command line?
by sectokia
in thread Why does system("mv $x $y") not work when it works at the command line?
by Cody Fendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |