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

ted leslie ted.leslie-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed May 15 22:25:04 UTC 2013


-r
iirc
.tl
On May 15, 2013 6:23 PM, <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org> wrote:

>   I'm mostly finished setting up a new desktop PC, after which an
> ancient PC will go to the York Region ewaste centre.  One problem I ran
> into whilst copying over files is that "dot-files", e.g. .bash_profile
> and .bashrc are not copied over when I specify "*".  What I ended up
> doing was...
>
> scp * new_machine:/home/waltdnes/
> scp \.* new_machine:/home/waltdnes/
>
>   Is there a simpler way that works with 1 command?
>
> --
> Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
> I don't run "desktop environments"; I run useful applications
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20130515/7e8fcc83/attachment.html>


More information about the Legacy mailing list