Re: OT: tar only directory structure

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

 



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

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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

  Powered by Linux