OT: tar only directory structure

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Tue Apr 13 17:50:09 UTC 2004


Am Di, den 13.04.2004 schrieb Rob Freeman um 18:57:

> Is it possible to just tar only the directory structure of a mount?  We are
> looking into backing up the /home of a fedora box, but do not need the
> thousand of files in all the separate folders.  Just the directory structure
> and permissions.
> 
> Rob

find /home -type d -print0 | xargs -0 tar cvf homedirlist.tar -

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 19:48:42 up 25 days, 3:30, load average: 0.58, 0.54, 0.37 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040413/703e2102/attachment-0001.sig>


More information about the fedora-list mailing list