Backup Script weird tar message
Nils Kassube
kassube at gmx.net
Sun Feb 3 22:17:42 UTC 2008
Dubh Aingeal wrote:
> So I am working on a shell script to do a incremental backups.
> When I run the
> script to test it I get this message:
>
> /bin/tar: Removing leading `/' from member names
>
> I'm not sure whats causing it. I'm hoping some fresh eyes might see
> where I made my error.
Like someone else mentioned already, that is the wanted behaviour of tar.
To get rid of the error message you could change the directories and make
them relative paths like this:
DIRECTORIES="home/aingeal"
Then, at the beginning of the script cd to the "/" directory.
Nils
More information about the ubuntu-users
mailing list