[CentOS] tar exclude command

Ceg Ryan cegryan at gmail.com
Thu Jan 7 15:09:53 UTC 2010


Try  tar --exclude=/var/named/chroot/proc/* -zcvf backup.tar.gz /var/named

On Thu, Jan 7, 2010 at 11:06 PM, adrian kok <adriankok2000 at yahoo.com.hk>wrote:

> Hi
>
> I have problem in tar command
>
> Can you help?
>
> tar -cv --exclude /var/named/chroot/proc/* -zf backup.tar.gz /var/named
>
> /var/named/chroot/proc/net/route
> /var/named/chroot/proc/net/udp
> /var/named/chroot/proc/net/tcp
> tar: Error exit delayed from previous errors
>
> Thank you
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20100107/415d8824/attachment.html 


More information about the CentOS mailing list