How to exclude a dir. with tar

Guillaume guillaume.chardin at gmail.com
Thu Feb 1 17:24:51 UTC 2007


I found my error. The --exclude option, need path without '/' on the end.


>> tar --acls --append --exclude /home/web/current/temp  -vf
/data/save/save.tar /home/web/current/ >> /data/save/sauve.log
>
> tar --acls --append  -vf /data/save/save.tar /home/web/current --exclude
> /home/web/current/temp >> /data/save/save.log




Thanks all for your help.
> Guillaume
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070201/f8335cae/attachment-0001.htm>


More information about the fedora-list mailing list