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

Re: How to exclude a dir. with tar



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


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