Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] scp: how to overwrite 444 protected files
- Date: Fri, 12 Nov 2010 09:38:16 +0100
- From: Josh Glover <jmglov@example.com>
- Subject: Re: [tlug] scp: how to overwrite 444 protected files
- References: <AANLkTik=H_4u8tM7Mg=ymuUh-MMXpaJd2M5wg25mYBEb@example.com> <AANLkTinb=k7KjWrLO23_X3pfohTWA-L+9DnXO40NNVTb@example.com> <AANLkTikK27-nsLYEBGA-8E9g78z4NCxwapZY=AjdWRc6@example.com> <20101112070006.GA4495@example.com>
On 12 November 2010 08:00, Christian Horn <chorn@example.com> wrote: > So give this a try: > > $ tar cf - file|(ssh remotehost "tar xvf -") Just as a matter of interest, you can dispense with all of the parens and quoting if you are lazy: tar cf - file | ssh remotehost tar xvf - Quoting to a remote shell can be tricky (you have to escape quotes or wrap them in single quotes), so I dispense with it whenever possible. Cheers, Josh
- Follow-Ups:
- Re: [tlug] scp: how to overwrite 444 protected files
- From: Christian Horn
- References:
- [tlug] scp: how to overwrite 444 protected files
- From: Jean-Christian Imbeault
- Re: [tlug] scp: how to overwrite 444 protected files
- From: David Shanahan
- Re: [tlug] scp: how to overwrite 444 protected files
- From: Jean-Christian Imbeault
- Re: [tlug] scp: how to overwrite 444 protected files
- From: Christian Horn
Home | Main Index | Thread Index
- Prev by Date: [tlug] Used commercial 802.11 equipment?
- Next by Date: Re: [tlug] scp: how to overwrite 444 protected files
- Previous by thread: Re: [tlug] scp: how to overwrite 444 protected files
- Next by thread: Re: [tlug] scp: how to overwrite 444 protected files
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links