I am trying to copy files using secure copy(scp). I am trying to execute the following command but I get error due to the space in the absolute path of the location of the directory.
scp -r -P 8484 email@example.com:/media/New Volume/lj /home/pratheep
I am getting the following error:
scp: /media/New: No such file or directory scp: Volume/lj: No such file or directory
I tried using the same command putting extra back slash like
scp -r -P 8484 firstname.lastname@example.org:/media/New\ Volume/lj /home/pratheep
but I am still getting the same error.
Can somebody tell me how to correct it?