Trying to Run Linux Command with Spaces!
Hey all,
Need a little help, im trying to run an scp command on my linux server, this is working fine, however i changed the output folder to one which has spaces and now when run,it's coming up saying
SCP ambiguous target
Here's my string, any ideas?
expect -c 'spawn scp -r /var/lib/asterisk/backups/Everyday/ administrator@192.1.1.1:/Volumes/Data1/My\ Backup\ Folder/ ; expect assword ; send "MYPASSWORD\n" ; interact;'
|