Date: Wed, 28 Oct 2009 18:10:11 -0500 From: Jay Hall <jhall@socket.net> To: freebsd-questions@freebsd.org Subject: Re: gnu tar checkpoint variable expansion Message-ID: <B25ECB84-D4E6-4CB9-8E39-928A09074E4A@socket.net> References: <20091022012543.489B810656AA@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Try this: > > /usr/local/gtar-1.22/bin/tar -cf - ${WHATTOBACKUP} \ > --checkpoint-action='echo=Checkpoint #%u' \ > --checkpoint-action="exec=/usr/local/scripts/check_disk_usage.sh $ > {DIR}" > > The use of single quotes prohibits the expansion of environment > variables. Use double qoutes instead. Thanks Trond, this did the trick. Jay
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B25ECB84-D4E6-4CB9-8E39-928A09074E4A>