Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Why does system("mv $x $y") not work when it works at the command line?

by harangzsolt33 (Chaplain)
on Feb 03, 2023 at 02:49 UTC ( [id://11150110] : note . print w/replies, xml ) Need Help??


in reply to Why does system("mv $x $y") not work when it works at the command line?

I would try this with a test file first. Create a file called test.txt and try to move it with your perl script. Works? Great. Then rename your mkv file to test.mkv and then move it. My guess is that the file name contains some special characters which is why it isn't working. But I could be wrong..