Re: How to exclude a dir. with tar

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

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux