Re: Pipe Output of ls -lR into a tar archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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..:)




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux