02-24-2011
Zipped tar file is corrupt
Hello, I am currently dumping 30-40 reports on a Unix folder located here /home/apps/reports/prode/excel
I use K-shell to do this task. In that, I use the gzip command to compress these files. I want to be able to use a tar command to first load the entire directory into one file then gzip that file and post on a network drive, but I am having issues.
Here are the commands that I have been using and failing with...
x 'cd /home/apps/reports/prode/excel';
x 'tar -cvf list_engine_zip.tar /home/apps/reports/prode/excel';
x 'gzip list_engine_zip.tar.gz';
for some reason the zipped tar file is corrupt and I am unable to read it on the network drive, any ideas would be greatly appreciated!!!
Thanks.
Pramodini
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a way you can tell if a file
is still zipped or it's unzipped
I have a file called ssss.zip and I would like to know if this file is still zipped or if it's unzipped?
I'm on IBM AIX/RS6000 (3 Replies)
Discussion started by: ted
3 Replies
2. Shell Programming and Scripting
How to search a pattern inside a zipped file ie (.gz file) with out unzipping it?
using grep command..
Bit urgent.. pls..help me (2 Replies)
Discussion started by: senraj01
2 Replies
3. UNIX for Dummies Questions & Answers
I have a script that grabs files from directory , zips and moves them somewhere else. It works fine except the case when files it grabs are already zipped. Then it trys to zip it again which does not make sence.
How can I check before zipping if file is already zipped?
thanks in advance (3 Replies)
Discussion started by: arushunter
3 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies
5. UNIX for Dummies Questions & Answers
Hey there I am just looking for a way to find a corrupt tar file. I want to write a script to help sift through the 1000's of tar files we go through daily and move any corrupt ones to a different directory structure. Is there an easy way to do this. (4 Replies)
Discussion started by: car2nst2006
4 Replies
6. Solaris
SunOS xxxxxx 5.10 Generic_142900-15 sun4v sparc SUNW,T5240
We receive files that are sometimes zipped, but the file may not have the .gz or other extention that would indicated that the file is zipped. Is there a unix "test" command that I could use or something similar?
Thanks in advance (7 Replies)
Discussion started by: Harleyrci
7 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I'm having a file which doesn't have any extension like .gz or .tar
But i belive it's a zipped file because it's a archive path,
i tried to view the file through zcat but it's not working
the below shown is the file name
PCLI_INXSTATUS_DEFF_I2705541_110927014513
Thanks for the... (4 Replies)
Discussion started by: thelakbe
4 Replies
8. UNIX for Advanced & Expert Users
Hi,
I want to tar files and zip them in order to clean up space in directory. I have files like /path/file1 /path file2.
What I am trying to do is:
Option 1:
tar -cvf /path/file1 /path file2 | gzip > test.tar.gz
I got the file created. But while trying to extract the Tar and zipped file, I... (1 Reply)
Discussion started by: Quesemail
1 Replies
9. Shell Programming and Scripting
I was extracting the zipped tar file with the command
gzip -dc Sample.tar.gz |tar xf -
The tar file contained many delimited files; but lately they changed the structure of the tar file with another folder. So now all the delimited files are inside a folder called "Folder1" and the folder... (6 Replies)
Discussion started by: asandy1234
6 Replies
10. Solaris
I've a tape contains a corrupt tar file. I'm using Unix SunOS 5.5.1. So when I run this command : dd if=/dev/rmt/0 of=/tmp/outputfile.tar
I get this error message :
warning /pci@1f, 0/pci@1/pci@1/sunw, isptwo@4/st@4,0 (sty): Error for command : read Error Level: Fatal Requested... (2 Replies)
Discussion started by: akaderb
2 Replies
LEARN ABOUT DEBIAN
seqdiag
SEQDIAG(1) General Commands Manual SEQDIAG(1)
NAME
seqdiag - generate sequence-diagram image file from spec-text file.
SYNOPSIS
seqdiag [options] file
DESCRIPTION
This manual page documents briefly the seqdiag commands.
seqdiag is generate sequence-diagram image file from spec-text file.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is
included below. For a complete description, see the Info files.
--version
show program's version number and exit
-h, --help
show this help message and exit
-a, --antialias
Pass diagram image to anti-alias filter
-c FILE, --config=FILE
read configurations from FILE
-o FILE
write diagram to FILE
-f FONT, --font=FONT
use FONT to draw diagram
-T TYPE
Output diagram as TYPE format
SEE ALSO
The programs are documented fully by
http://tk0miya.bitbucket.org/seqdiag/build/html/index.html
AUTHOR
seqdiag was written by Takeshi Komiya <i.tkomiya@gmail.com>
This manual page was written by Kouhei Maeda <mkouhei@palmtb.net>, for the Debian project (and may be used by others).
May 21, 2011 SEQDIAG(1)