On Fri, 2004-06-18 at 12:24, Ed K. wrote: > On Fri, 18 Jun 2004, Ow Mun Heng wrote: > > > > This just gives me directory names. What about the files in it? If I use -type f I get a complete tar! > > > > I'm not sure any more what you want. Are you sure you want to use tar? Just to save a directory listing, a > single file, could be done with: > > ls -laR ~/the/dir/to/list | gzip > /tmp/dir-list.gz This is exactly what I was looking for. Dummy Me!! Sorry :( > tar is used to backup files. I see. Actually, I thought it could be done that way. Sorry for the trouble.. and Many thanks for the solution..:)