Working - Re: [CentOS] Taring up the OS - how to exclude directories

John Summerfield debian at
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 .



-- spambait
1aaaaaaa at  Z1aaaaaaa at
Tourist pics

Please do not reply off-list

More information about the CentOS mailing list