Backup Script weird tar message

Nils Kassube kassube at
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:


Then, at the beginning of the script cd to the "/" directory.


More information about the ubuntu-users mailing list