Pipe Output of ls -lR into a tar archive

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Fri Jun 18 18:36:26 UTC 2004


Am Fr, den 18.06.2004 schrieb Ow Mun Heng um 20:04:

> I just want to create a tar archive from a directory file listing.
> 
> something like
> 
> ls -laR ~/the/dir/to/list | tar -cvf - /tmp/tarred-dir-list.tar.gz
> 
> I can't seem to find the correct syntax

http://www.redhat.com/archives/fedora-list/2004-April/msg02382.html

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.435 
Serendipity 20:35:50 up 3 days, 17:02, load average: 0.34, 0.38, 0.27 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040618/b827fe17/attachment-0001.sig>


More information about the fedora-list mailing list