Back during the whole scp1 versus scp2 fiasco, I got used to using
tar cfz - directory | ssh u...@host sh -c "cd $wherever; tar xfz -" Both scp and rsync suffer mightily from hatefully poor layering.
Back during the whole scp1 versus scp2 fiasco, I got used to using
tar cfz - directory | ssh u...@host sh -c "cd $wherever; tar xfz -" Both scp and rsync suffer mightily from hatefully poor layering.