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

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

 



On Fri, 18 Jun 2004, Ow Mun Heng wrote:
I need help,

	EIther google isn't finding the stuffs or my search terms are too
muddled.

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

I think you are looking for something like:

find ~/the/dir/to/list -type f | tar -cvf /tmp/tarred-dir-list.tar.gz -T -

ed

Security on the internet is impossible without strong, open, and unhindered encryption.



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

  Powered by Linux