I've got a cron job running a backup every night. It's a shell script that looks like this:
----- #!/bin/bash cd /backup tar -czf webstoresDoc.tgz -C / /home/www/docroot/webstores ----- It works fine, but I keep getting the following email from the cron process: ----- tar: Removing leading `/' from member names tar: Removing leading `/' from member names ----- Originally, the '-C /' wasn't there, but after some googling I found this switch which is supposed to--among other things--get rid of this warning. I've tried 'czf' instead of '-czf' and '-C' instead of '-C /' in all the combinations I can think of. I'd prefer to avoid piping STDERR to /dev/null because I want to be notified if something goes wrong, but I don't want my inbox cluttered with useless messages either. Any pointers? -- Alan /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
