I'm trying to exclude a sub directory in /root with tar --exclude.
The sub directory I want to exclude is /root/.acme.sh - which I have a separate backup for.
This is what I have:
# tar –cvf --exclude='.acme.sh' /var/backup/root-`date +'%Y-%m-%d'`.tgz /root/
But I'm always get the following...
I have had my dotfiles in git version control for a while now, sometimes I find git annoying when I want to experiment with things, it is sort of a barrier to that, and I find that when my dotfiles are in any kind of version control system, I have an urge to constantly commit any small changes I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.