[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] cvs export for tla?
From: |
Jan Hudec |
Subject: |
Re: [Gnu-arch-users] cvs export for tla? |
Date: |
Mon, 21 Feb 2005 08:52:10 +0100 |
User-agent: |
Mutt/1.5.6+20040907i |
On Sat, Feb 19, 2005 at 00:32:57 +0000, David Allouche wrote:
> On Fri, 2005-02-18 at 17:49 -0500, Adrian Irving-Beer wrote:
> > On Fri, Feb 18, 2005 at 10:44:28AM -0600, John Arbash Meinel wrote:
> >
> > > And you're right, -T - is much better than xargs, since xargs can't
> > > be told to only split on newlines.
> >
> > xargs will also divide it up into multiple tar commands if the number
> > of files is too large to fit in a single command. Oops. ;)
>
> Yours truly actually bit the bullet once and came up with the _really_
> correct way to do export and to create tarballs with tla, even for files
> containing newlines in the names (even if some people think that caring
> for those cases is pedantry).
>
> http://wiki.gnuarch.org/moin.cgi/Arch_20Recipes#head-777d973d8a18b72503cdf84fed81bd92522d899f
>
> Those scripts might not be very portable, since they were written for
> bash. Wiki edits welcome.
Looking at the script I really think it's fully POSIX. Or at least it
would work in dash.
-------------------------------------------------------------------------------
Jan 'Bulb' Hudec
<address@hidden>
signature.asc
Description: Digital signature
[Gnu-arch-users] Re: cvs export for tla?, Matthieu Moy, 2005/02/18
Re: [Gnu-arch-users] cvs export for tla?, Robert Collins, 2005/02/18