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

Pipe Output of ls -lR into a tar archive



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
-- 



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