[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: order of files
From: |
Edmund GRIMLEY EVANS |
Subject: |
Re: order of files |
Date: |
Mon, 2 Jul 2001 23:36:58 +0100 |
User-agent: |
Mutt/1.3.19i |
Edmund GRIMLEY EVANS <address@hidden>:
> Note that it is rather hard to get a canonical ordering in a portable
> way without modifying tar as you can't add a directory to an archive
> without adding the files it contains. If this were possible, then I
> could get a canonical ordering with something like:
>
> find foo-1.2.3 | sort |
> ( while read x ; do tar --dir-only -rf foo-1.2.3.tar "$x" ; done )
>
> (assuming no file name contains a '\n'!)
I see the latest version of tar does in fact have a --no-recursion
option.
Edmund
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: order of files,
Edmund GRIMLEY EVANS <=