I need to copy a hiddden dot directory from remote to local. I tried this:
scp ssh:/home/ubuntu/.gnupg/ /local/target
But this gives me an error scp: /home/ubuntu/.gnupg: not a regular file
I need to copy a hiddden dot directory from remote to local. I tried this:
scp ssh:/home/ubuntu/.gnupg/ /local/target
But this gives me an error scp: /home/ubuntu/.gnupg: not a regular file
man scp | less -p '-r'
... – jasonwryan Oct 20 '17 at 04:46