Reputation
1,116
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 7
Newest
 Yearling
Impact
~125k people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
Nov
12
comment Is it possible to use Unix commands to `cp` a file in my subdirectory into a remote computer via SSH?
-H is actually for hard links, it stops the same content being sent twice or more when it is linked into more than one place in the source directory structure (but can make the process less efficient for large directory structures). it has no effect on symbolic links, but some of the options included by -a/--archive do affect how symlinks are processed.
Nov
12
comment Is it possible to use Unix commands to `cp` a file in my subdirectory into a remote computer via SSH?
I tend to use rsync for everything, even single files, because it "just works" in the simple cases and can be far more efficient in other cases. If using either scp or rsync on anything not already compressed and/or encrypted, remember to turn the compression option on (-C for scp, -z or --compress for rsync). In fact I turn it on by habit - it is very rare you'll find a circumstance where it ever slows things down (perhaps if you are using a slow low-power device with limited CPI power like an rPi).
Aug
10
awarded  Yearling
Jan
16
awarded  Nice Answer
Aug
10
awarded  Yearling
Nov
9
awarded  Mortarboard
Nov
9
awarded  Good Answer
Nov
8
awarded  Nice Answer
Nov
8
answered How to fill 90% of the free memory?
Aug
10
awarded  Yearling
Aug
10
awarded  Yearling
Apr
3
awarded  Nice Answer
Aug
11
awarded  Yearling
Feb
24
answered Reserved space for root on a filesystem - why?
Oct
25
revised How to copy a file that is still being written over ssh?
added 16 characters in body
Oct
1
revised How to copy a file that is still being written over ssh?
Improved grammar+clarity
Sep
30
awarded  Editor
Sep
30
revised How to copy a file that is still being written over ssh?
added 795 characters in body
Sep
30
answered How to copy a file that is still being written over ssh?
Sep
15
answered Databases for embedded Linux?