Listing directories only from tar file?
I have a rather large (~31 GB) tar file, a backup of /home on a server.
What i want to do i list the contents of this file but only the directories. I know that "tar -tvf backup.tar" lists all the files but i don't know how to make it list only the directories. Anybody have any good advice? |
Just append this to your existing command (which already has the v (verbose) and t (list) options:
Code:
|grep ^d |
Thanks a lot :)
|
All times are GMT -5. The time now is 04:14 AM. |