Hi,
I want to backup all file : /
but without : /sys/*
so I use the command : tar --exclude=sys/* -cvp -f /backup/fullBackup$(date -I).tar /
but the command also ignores the file : /usr/unclude/sys/*
How do just ignore /sys/* ?
Hi,
I want to backup all file : /
but without : /sys/*
so I use the command : tar --exclude=sys/* -cvp -f /backup/fullBackup$(date -I).tar /
but the command also ignores the file : /usr/unclude/sys/*
How do just ignore /sys/* ?
If you haven't already sorted it out, I think, (from memory), you need --exclude=/sys which should do what you wanted.
You must log in to post.