Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

tar and shell script

0 views
Skip to first unread message

hend...@gmail.com

unread,
Mar 9, 2009, 4:27:11 PM3/9/09
to
Gang,

I have a bash script that is trying to run tar with parameters,
but when it does so, tar reports all kinds of errors. If I take the
same output (using an echo command in the script to see what exactly
is being executed), it runs with no problems. Does anyone have any
ideas as to what could be causing this?

Thanks,
Dave

hend...@gmail.com

unread,
Mar 9, 2009, 4:45:45 PM3/9/09
to

Never mind, I was storing all the tar parameters in a variable and
then trying to run the script using that variable with tar (it has
redirects and pipes and I think it was giving tar issues). Anyways, I
created a work around. Disregard this post.

Tim Greer

unread,
Mar 9, 2009, 4:47:09 PM3/9/09
to
hend...@gmail.com wrote:

Please post the relevant portions of the shell script, and the errors
it's outputting.
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!

Tim Greer

unread,
Mar 9, 2009, 4:51:50 PM3/9/09
to
hend...@gmail.com wrote:

Glad you figured out the issue.

Greg Russell

unread,
Mar 9, 2009, 5:22:54 PM3/9/09
to
In news:f6fd6784-a8b7-4005...@q11g2000vbn.googlegroups.com,
hend...@gmail.com <hend...@gmail.com> typed:

... and the command you're executing is ... what? Let's not play guessing
games, please.


0 new messages