How do I copy all files with scp in 1 command?

James Knott james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Thu May 16 00:55:19 UTC 2013


waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org wrote:
> scp * new_machine:/home/waltdnes/
> scp \.* new_machine:/home/waltdnes/
>
>    Is there a simpler way that works with 1 command?

I normally use cp -a, which creates an archive.

--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list