<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: uncompress default in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746258#M68983</link>
    <description>Thanks for all of your replies.  Really appreciate it.  Rodney Hills reply works for us.. Thanks Rodney..&lt;BR /&gt;&lt;BR /&gt;Again thanks&lt;BR /&gt;Joey</description>
    <pubDate>Mon, 17 Jun 2002 16:34:48 GMT</pubDate>
    <dc:creator>Kurtkarl</dc:creator>
    <dc:date>2002-06-17T16:34:48Z</dc:date>
    <item>
      <title>uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746245#M68970</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We are running "uncompress &lt;FILENAME&gt;??? within a script.  Once uncompress runs and if it finds existing file it prompts you whether to override it or not?  &lt;BR /&gt;&lt;BR /&gt;My question is, are there any parameters that we could use for uncompress not to prompt in case same file found and instead automatically "DONT" override existing files?  or are there any scripts to use uncompress by defaulting the prompt to "N" if file exists?&lt;BR /&gt;&lt;BR /&gt;THanks&lt;BR /&gt;Joey&lt;/FILENAME&gt;</description>
      <pubDate>Mon, 17 Jun 2002 15:45:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746245#M68970</guid>
      <dc:creator>Kurtkarl</dc:creator>
      <dc:date>2002-06-17T15:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746246#M68971</link>
      <description>Two choices-&lt;BR /&gt;&lt;BR /&gt;1) remove the orginal file it is being uncompressed into first, before uncompress.&lt;BR /&gt;&lt;BR /&gt;2) the "-f" option on uncompress will force it to overwrite the file.&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Mon, 17 Jun 2002 15:49:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746246#M68971</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-06-17T15:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746247#M68972</link>
      <description>oops- I miss read your question.&lt;BR /&gt;&lt;BR /&gt;Best thing to do is in the script do an "if" statement to test before uncompressing.&lt;BR /&gt;&lt;BR /&gt;if [ ! -e yourfile ] ; then&lt;BR /&gt; uncompress yourfile.Z&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Mon, 17 Jun 2002 15:51:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746247#M68972</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-06-17T15:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746248#M68973</link>
      <description>Hi Joey,&lt;BR /&gt;&lt;BR /&gt;You can check if the file exist first, somthing like that:&lt;BR /&gt;&lt;BR /&gt;if [ -f filename ]&lt;BR /&gt;then&lt;BR /&gt;echo "the file allready exists then not overrider"&lt;BR /&gt;else&lt;BR /&gt;uncompress filename&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Justo.</description>
      <pubDate>Mon, 17 Jun 2002 15:53:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746248#M68973</guid>
      <dc:creator>Justo Exposito</dc:creator>
      <dc:date>2002-06-17T15:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746249#M68974</link>
      <description>Hi Joey&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;use -f option .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ie uncompress -f &lt;FILE name=""&gt; it will not ask you to overwrite the file even if the same file exists.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava&lt;/FILE&gt;</description>
      <pubDate>Mon, 17 Jun 2002 16:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746249#M68974</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-06-17T16:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746250#M68975</link>
      <description>Thanks for the reply,  My other question is,  what if&lt;BR /&gt;if we have to many files to test and we dont want to do several loops within the script just to test the file if existing or not?&lt;BR /&gt;&lt;BR /&gt;Can we let uncompress program to do these test and just default it not to override existing files?&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;Joey</description>
      <pubDate>Mon, 17 Jun 2002 16:07:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746250#M68975</guid>
      <dc:creator>Kurtkarl</dc:creator>
      <dc:date>2002-06-17T16:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746251#M68976</link>
      <description>To answer your question, no, there are no parameters/qualifiers for uncompress that will give you the behavior you are looking for. You will have to use one of the scripting procedures already posted to your question. (They are valid solutions and deserve more than a "4".)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Marty</description>
      <pubDate>Mon, 17 Jun 2002 16:09:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746251#M68976</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-06-17T16:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746252#M68977</link>
      <description>To put it simply-&lt;BR /&gt;&lt;BR /&gt;NO&lt;BR /&gt;&lt;BR /&gt;The man page for uncompress gives no indication that this is available.&lt;BR /&gt;&lt;BR /&gt;I assume you are doing something like a uncompress *.Z and only new files to be uncompressed. A shell script really would not be that ineffecient.&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Mon, 17 Jun 2002 16:10:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746252#M68977</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-06-17T16:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746253#M68978</link>
      <description>Hi Again,&lt;BR /&gt;&lt;BR /&gt;No there is not a parameter into uncompress.&lt;BR /&gt;&lt;BR /&gt;See man page.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Justo.</description>
      <pubDate>Mon, 17 Jun 2002 16:12:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746253#M68978</guid>
      <dc:creator>Justo Exposito</dc:creator>
      <dc:date>2002-06-17T16:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746254#M68979</link>
      <description>I did a test and an undocumented way is as follows-&lt;BR /&gt;&lt;BR /&gt;uncompress *.Z &amp;amp;0&lt;BR /&gt;&lt;BR /&gt;With STDERR set to null, uncompress can't do a prompt, so it defaults to no.&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Mon, 17 Jun 2002 16:16:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746254#M68979</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-06-17T16:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746255#M68980</link>
      <description>Joey&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I think there is no option , the better way would be to move it to some toher direcotry and then uncompress it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Mon, 17 Jun 2002 16:18:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746255#M68980</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-06-17T16:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746256#M68981</link>
      <description>Joey,&lt;BR /&gt;&lt;BR /&gt;If you want multiple behaviors, then you are going to have to write a script to test if the file exists or not.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 17 Jun 2002 16:21:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746256#M68981</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-06-17T16:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746257#M68982</link>
      <description>You of course know that any suggestion given by these forums are not guaranteed and any damage to your system is not the responsibility of the provider of a solution.&lt;BR /&gt;&lt;BR /&gt;I don't forsee any problems with my solution, but then again you are trying to do something a little "non-standard".&lt;BR /&gt;&lt;BR /&gt;my 2 cents&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Mon, 17 Jun 2002 16:25:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746257#M68982</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-06-17T16:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: uncompress default</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746258#M68983</link>
      <description>Thanks for all of your replies.  Really appreciate it.  Rodney Hills reply works for us.. Thanks Rodney..&lt;BR /&gt;&lt;BR /&gt;Again thanks&lt;BR /&gt;Joey</description>
      <pubDate>Mon, 17 Jun 2002 16:34:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/uncompress-default/m-p/2746258#M68983</guid>
      <dc:creator>Kurtkarl</dc:creator>
      <dc:date>2002-06-17T16:34:48Z</dc:date>
    </item>
  </channel>
</rss>

