Trying to Run Linux Command with Spaces!
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/ email@example.com:/Volumes/Data1/My\ Backup\ Folder/ ; expect assword ; send "MYPASSWORD\n" ; interact;'