Working - Re: [CentOS] Taring up the OS - how to exclude directories
John Summerfield
debian at herakles.homelinux.org
Tue Sep 12 02:17:23 UTC 2006
Robert Moskowitz wrote:
>
> If I watch the screen (without getting sick with the fast scrolling), I
> see other '/' being removed comments.
>
Try this. Note the trailing dot:-)
tar cpvzf - -C / --exclude home --exclude media --exclude mnt
--exclude proc --exclude */lost+found .
--
Cheers
John
-- spambait
1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
Please do not reply off-list
More information about the CentOS
mailing list