troubles using "mv" moving folders to network path.

Advertisement

Greg LeBlanc
Guest

troubles using "mv" moving folders to network path.

My script
option batch abort
option confirm off
open connection
mv "*.*" \\\\ess-raddon\\e\\phonecalls\\\*\.\*
exit

fails and gives

Error moving file 'BUS4596555' to '\\ess-raddon\e\phonecalls\*.*'.
No such file or directory.
Error code: 2

Is it because i'm trying to move folds and not files?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,276
Location:
Prague, Czechia

Re: troubles using "mv" moving folders to network path.

I'm pretty sure that \\ess-raddon\e\phonecalls is not a valid path.
Open the folder in the remote panel of WinSCP GUI and use the exact syntax you see on the top of the file panel.

Reply with quote

Advertisement

You can post new topics in this forum