-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Rainer Traut said the following on 15/03/11 10:25:
This always sends me an unwanted email with: tar: Removing leading `/' from member names
Redirect the stdout/stderr to some file:
tar cvzf /mnt/mybackup.tgz /foo /bar > /var/log/backup 2> /var/log/backuperrors
Because the exclude pattern matches under dir1 my important File is not backed up. The problem is, I cannot specify the exclude pattern to match only /tmp/foo/dir2 , can I?
It's a matter of personal taste, but I find more useful the -X (or - --exclude-from) option
Ciao, luigi
- -- / +--[Luigi Rosa]-- \
You cannot achieve the impossible without attempting the absurd.