On Fri, 2004-06-18 at 11:36, Alexander Dalloz wrote: > 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 That didn't work. End up actually tarring up the folder and not the listing somehow find ~/Data/Tunes/ -type d -print0 | xargs -0 tar cvf /tmp/tunes1.zip -