Simmons Consulting, the Website of Toby Simmons

SCP with spaces in the name

04
Mar

Note to self: When you want to copy files recursively to a destination with spaces in the name using SCP, the syntax is (assuming you want to copy the contents of the current directory to a remote location):

  1. scp -p -r ./* user@destinationserver:"/Path/That/Has/Some\ Spaces\ In\ It/"