Sponsored Content
Top Forums Shell Programming and Scripting How to decompress files using gunzip? Post 302679021 by vel4ever on Monday 30th of July 2012 07:09:23 AM
Old 07-30-2012
How to decompress files using gunzip?

I have compressed files under directory '/root/data' and i need the uncompressed files in another directory
'/root/uncom'. I running a shell script below shell script from directory '/root/'

Code:
gunzip /root/data/*.gz -d /root/uncom

But this is failing with
gunzip: /root/uncom is a directory -- ignored
 

10 More Discussions You Might Find Interesting

1. HP-UX

decompress in HPUX11 by Gunzip and gzip

Hello evrebody , I have HPUX-11, i try to install "Mozilla" and "unzip utillity" I cannot decompress file (F.tar.gz) or file(F.gz) by commandes: gunzip -dv F.tar.gz | tar -xvf gunzip F.tar.gz or gzip -dv F.tar.gz |tar -xvf gzip F.gz maybe someone know What's the reason? maybe i... (1 Reply)
Discussion started by: yanly64
1 Replies

2. UNIX for Dummies Questions & Answers

Decompress a .SP file

Hi to all, I'm new in this forum and I just need a quick answer from the experts out there, I have a 2761.sp file, in short a ".SP" file, it was given to me compressed, and I need to decompress it before Monday. I saw a software named Splint, but it shows an error, a DMI error message, so I dont... (3 Replies)
Discussion started by: jeco
3 Replies

3. UNIX for Dummies Questions & Answers

Decompress directory using Gzip

Hey there... Just has a query. I have been trying to zip and unzip a directory. I used gzip -c -r <directory> to recursively search the directory and zip it Now is want to unzip the directory, by gunzip -r <filename>.gz The problem is that the unzip creates on file with the contents... (1 Reply)
Discussion started by: jinxor
1 Replies

4. UNIX for Dummies Questions & Answers

Using gunzip to decompress .zip file

Hi, I have a zipped Oralce software (linux.x64_11gR1_database.zip) and I need to unzip it. On the Linux server, I only see the gunzip utility listed: $ ls -ltr *zip* -rwxr-xr-x 3 root root 60320 Jan 15 2008 gzip -rwxr-xr-x 3 root root 60320 Jan 15 2008 gunzip Can I use the command... (1 Reply)
Discussion started by: syang68
1 Replies

5. Shell Programming and Scripting

Gunzip files

Hello Everyone, I have a few files in a directory such as : abc.xyz.txt1.gz abc.xyz.txt2.gz .... .... ... ... abd.xyz.txt100.gz And I want uncompressed files such as: abc.xyz.txt1 abc.xyz.txt2 .... ... ..... .... (1 Reply)
Discussion started by: ad23
1 Replies

6. Shell Programming and Scripting

Gunzip files

Hi ALL, Am working with the gunzip command to zip all the old files having 10 days am using the command find . -name '*.log' -type f -mtime +10 -exec gunzip {} \; am facing two issues 1.)it displays the files which are all older than a year 2.)when am trying to gunzip all the... (2 Replies)
Discussion started by: thelakbe
2 Replies

7. Shell Programming and Scripting

Decompress (with gunzip) recursively, but do not delete original gz file

Hi all, I have a folder hierarchy with many gz files in them. I would like to recursively decompress them, but keep the original files. I would also like to move all the decompressed files (these are very large HDF5 files with .CP12 extension) to another data folder. Currently I am using four... (3 Replies)
Discussion started by: gansvv
3 Replies

8. Shell Programming and Scripting

Multiple .gz decompress files and dump other directory

I have code below for i in *.gz; do gzip -dc $i /home/vizion/Desktop/gzipfile/; done one more for i in *.gz; do gunzip -dc $i /home/vizion/Desktop/gzipfile/; done both are getting error: "gunzip: /home/vizion/Desktop/gzipfile/ is a directory -- ignored " i have requirement below in... (3 Replies)
Discussion started by: Chenchireddy
3 Replies

9. Shell Programming and Scripting

Gunzip and edit many files

Experts - I have an requirement to gunzip and edit many files in a pair of directories. I have two scripts that work great when run separately, but I'm having problems combining the two. The goal is to gunzip the files found in the first script and pipe them to the bash/sed script and... (9 Replies)
Discussion started by: timj123
9 Replies

10. Shell Programming and Scripting

How to decompress files using gunzip?

I have compressed files under directory '/root/data' and i need the uncompressed files in another directory '/root/uncom'. I running a shell script below shell script from directory '/root/' gunzip /root/data/*.gz -d /root/uncom But this is failing with : gunzip: /root/uncom is a directory... (2 Replies)
Discussion started by: hoyanet
2 Replies
PO_COS_NAMING_SHELL(1)													    PO_COS_NAMING_SHELL(1)

NAME
po_cos_naming_shell - navigate and interact with the CORBA COS Naming implementation. SYNOPSIS
po_cos_naming_shell [-s] [-i] [-I <IOR>] [-n] All the command line switches are optional. Note: if no root directory initial reference is specified (see section OPTIONS), a new one is created on startup. DESCRIPTION
po_cos_naming_shell(1) is very similar to the po_cos_naming(1) application. po_cos_naming_shell(1) can can act as standalone server that supports the CORBA COS Naming specification. In addition, po_cos_naming_shell(1) provides an interactive shell which can be used to query and manage the CORBA COS naming service. po_cos_naming_shell(1) is able to retrive an existing root directory reference, or it can create a new one on application startup. To display all available shell commands, type help on the command line. OPTIONS
po_cos_naming_shell(1) accepts the following command line switches: -s Register root directory initial reference. -i Retrieve root directory initial reference. -I <IOR> Use object denoted by IOR as root directory. -n Retrieve root directory by name. AUTHOR
This manual page was written by Reto Buerki <reet@codelabs.ch> for the Debian GNU/Linux system (but may be used by others). RESOURCES
Polyorb User Manual: http://www.adacore.com/wp-content/files/auto_update/polyorb-docs/polyorb_ug.html/ SEE ALSO
po_cos_naming(1), po_names(1). 05/21/2009 PO_COS_NAMING_SHELL(1)
All times are GMT -4. The time now is 05:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy