Sponsored Content
Full Discussion: Gunzip files
Top Forums Shell Programming and Scripting Gunzip files Post 302471150 by thelakbe on Friday 12th of November 2010 05:27:40 AM
Old 11-12-2010
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 old files its throwing the error
gunzip: ./services/csis/log/LISRVR_CSIS_356362_240710.log: unknown suffix -- ignored

Suggestion on this please
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Gunzip

Hi can't unzip a gz file in TurboLinux 7.0 when i'm trying this gunzip filename.tar.gz it always says not in gzip format what should I do...please help me (4 Replies)
Discussion started by: CreamHarry
4 Replies

2. UNIX for Dummies Questions & Answers

gunzip error

While trying to gunzip afile I get the following error message ls -l UK_US_02310.dat.gz -rwxrwxrwx 1 imis abint 348854527 Jan 8 00:17 UK_US_02310.dat.gz gunzip UK_US_02310.dat.gz gunzip: UK_US_02310.dat.gz: invalid compressed data--format violated I can gzcat the file and pipe to... (3 Replies)
Discussion started by: mccoubreyr
3 Replies

3. UNIX for Dummies Questions & Answers

gunzip syntax help

Hi All, I am a newbie to unix and need help. I am trying to unzip the files in source library to destination library. the input filename can be any thing with abc and after unzip, i want the same file name with original extension suppose,the input file is ABC_jun25.dat.gz after gunzip in the... (1 Reply)
Discussion started by: onlyjayaram
1 Replies

4. Shell Programming and Scripting

Help on gunzip

Hi All, I am using UNIX command to unzip the files gzip -d9 DW_*.gz The Xmls are compressed using gzip and it is received in the .gz format at UNIX box which need to be uncompressed. The above command is working fine for 400 compressed xmls(.gz files) but when the count becomes 401 or more i... (7 Replies)
Discussion started by: Codesearcher
7 Replies

5. UNIX for Dummies Questions & Answers

gunzip

I have a zip file as a.zip and it contains 1m xml files. like a1.xml, a2.xml.... The size is also very big nearly 1GB. I want to extract only a123.xml. Can any one help how can I do this? (1 Reply)
Discussion started by: siba.s.nayak
1 Replies

6. Shell Programming and Scripting

Help with gunzip

Hi All, I have a file "HOTEL_INFO.zip" and getting the below errors: server1:/home/arun# gunzip -S .zip HOTEL_INFO.zip gunzip: HOTEL_INFO.zip: first entry not deflated or stored -- use unzip server1:/home/arun#unzip HOTEL_INFO.zip ksh: unzip: not found. ... (11 Replies)
Discussion started by: Arunprasad
11 Replies

7. 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

8. 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: vel4ever
2 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
ASN2ALL(1)						     NCBI Tools User's Manual							ASN2ALL(1)

NAME
asn2all - generate reports from ASN.1 biological data SYNOPSIS
asn2all [-] [-A acc] [-F filename] [-G] [-J n] [-K n] [-M] [-T] [-X] [-a type] [-b] [-c] [-d path] [-f format] [-h] [-i filename] [-k] [-l] [-n policy] [-o filename] [-p path] [-r] [-v filename] [-x ext] DESCRIPTION
asn2all is primarily intended for generating reports from the binary ASN.1 Bioseq-set release files downloaded from the NCBI ftp site (ncbi-asn1 directory). It can produce GenBank and GenPept flatfiles, FASTA sequence files, INSDSet structured XML, TinySeq XML, and Sequin-style 5-column feature tables. The release files (which have the extension .aso.gz) should be uncompressed with gunzip(1), resulting in files with the extension .aso. For example, gbpri1.aso is the first file in the primate division, and the command gunzip gbpri1.aso.gz will result in gbpri1.aso being created. The original gbpri1.aso.gz file is removed after successful decompression. In asn2all, the name of the file to be processed is specified by the -i command line argument. Use -a t to indicate that it is a release file and -b to indicate that it is binary ASN.1. A text ASN.1 file obtained from Entrez can be processed by using -a a instead of -a t -b. Nucleotide and protein records can be processed simultaneously. Use the -o argument to indicate the nucleotide output file, and the -v argument for the protein output file. The -f argument determines the format to be generated, and is documented in more detail (along with other options) in the following sec- tion. OPTIONS
A summary of options is included below. - Print usage message -A accession Accession to fetch; may take the form accession,complexity,flags where complexity should normally be 0 and a flags value of -1 enables fetching of external features -F filename Accession Filter file -G Relaxed Genome Mapping -J n Seq-loc from -K n Seq-loc to -M Seq-loc Minus strand -T Use Threads -X EXtended qualifier output -a type Input ASN.1 type: a Automatic (default) c Catenated z Any e Seq-entry b Bioseq s Bioseq-set m Seq-submit t batch processing (suitable for official releases; autodetects specific type) -b Bioseq-set is Binary -c Bioseq-set is Compressed -d path Path to indexed binary ASN.1 Data -f format Output Format: g GenBank/GenPept (default) m GenBank Master Style f FASTA d CDS FASTA e Gene FASTA t Sequin-style 5-column feature table y TinySet XML (akin to FASTA) s INSDSet XML (akin to GenBank/GenPept) a structurally equivalent text ASN.1 x structurally equivalent XML c cache components -h Display extra Help message -i filename Input file name (standard input by default) -k Enable local fetching -l Lock components in advance -n policy Near FASTA policy: a All n Near only (default) f Far only -o filename Nucleotide Output file name -p path Path to files -r Enable Remote fetching -v filename Protein output file name -x ext File selection suffix when working with entire directories. (default is .aso) EXAMPLES
The command asn2all -i gbpri1.aso -a t -b -f g -o gbpri1.nuc -v gbpri1.prt will generate GenBank and GenPept reports from gbpri1.aso. AUTHOR
The National Center for Biotechnology Information. SEE ALSO
asn2asn(1), asn2ff(1), asn2fsa(1), asn2gb(1), asn2idx(1), asn2xml(1), asndhuff(1), gene2xml(1), gunzip(1). NCBI
2012-06-24 ASN2ALL(1)
All times are GMT -4. The time now is 08:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy