Hacker News new | ask | show | jobs
by ktm5j 2919 days ago
I usually go straight to tar & ssh over scp since you can do directories where you can't with scp. But yeah, if you just have some files scp works.
1 comments

You can obviously send directories with scp, just use -r. Or am I missing something?
Recently used it to copy half a terabyte of stuff on my home network. Unsure about the exact specification but it supported the same flags as cp as far as I could tell.
Well I'll be damned.. not sure what lead me to think this.
Yes -r works for copying directories. I do it all the time