Sponsored Content
Operating Systems Solaris Combination of gunzip and tar on Solaris Post 43698 by dwidmer on Thursday 20th of November 2003 11:17:34 PM
Old 11-21-2003
Bug Thanks!

Thanks a lot y'all!

Dan
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Tar and gunzip piping

I am using IRIX 6.5.11 and tcsh. I have created an arcihive by using the command "tar -cvf - /stuff/ /more/stuff|gzip --best>/stuff.tar.gz" It made an archive of my files without taking up huge amounts of disk space with uncompressed files. How do I extract files from the archive without... (2 Replies)
Discussion started by: madyodacolon
2 Replies

2. UNIX for Dummies Questions & Answers

gnu tar on Solaris 8

Here is how I got where I am: I tried untarring tomcat and at the end of the untar I get the following: So I downloaded GNU tar and did a pkgadd -d, which installed the package. But when I run /usr/local/bin/tar, I get this message: (1 Reply)
Discussion started by: dangral
1 Replies

3. Shell Programming and Scripting

Retaining tar.gz after gunzip

gunzip fnam.tar.gz After this command execution... .gz file no longer exists... and only fnam.tar is present. Is it possible to retain the tar.gz file after after using the above command thx in advance. (4 Replies)
Discussion started by: devs
4 Replies

4. Solaris

Tar -C in Solaris 10

Hi I what unpack my TAR archive in separate folder ;) For example on Linux: # mkdir /data/one/two # cd /data # touch 11{1,2,3,4,5,6,7,8} # pwd /data # ls -l total 32 -rw-r--r-- 1 root root 0 Oct 11 13:54 111 -rw-r--r-- 1 root root 0 Oct 11 13:54 112 -rw-r--r-- 1 root root 0 Oct 11... (3 Replies)
Discussion started by: jess_t03
3 Replies

5. Shell Programming and Scripting

'find' and 'tar' combination

I'm trying to tar the files I get from the 'find' command result. However I can't make it run successfuly? This is for our archiving process. Here is my script: find /mnt/LOGS -mtime -10 -name "TUXLOG.*" -exec tar -cvf /mnt/LOGS/combine.tar {} \; Im not sure why it is not working or it is... (2 Replies)
Discussion started by: kharen11
2 Replies

6. Shell Programming and Scripting

Elegant gunzip of tar Contents

I am faced with a situation where I have directories of gunzipped contents bundled into a tar file. It might look something like this. x coop/batch/bin/ha90x20.gz, 632641 bytes, 1236 tape blocks x coop/batch/icm/HA90X20.icm.gz, 1821 bytes, 4 tape blocks x coop/batch/aeenv.gz, 4117 bytes, 9 tape... (2 Replies)
Discussion started by: scotbuff
2 Replies

7. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

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

8. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies

9. AIX

Gunzip tar A directory checksum error on media

Hi, what is the directory checksum error ? # sed 's/^M$//' test4_bkp_19Jan13.tgz | tar -tvf - tar: 0511-169 A directory checksum error on media; -265745505 not equal to 76225. # mv test4_bkp_19Jan13.tgz test4.gz # gunzip < /ebs2/test4.gz | tar -xvf - tar: 0511-169 A directory checksum... (4 Replies)
Discussion started by: filosophizer
4 Replies

10. UNIX for Dummies Questions & Answers

Gunzip and tar command

Hi I wanted to tar and gunzip a file named backup tar: backup.tar: Wrote only 2244 of 10240 bytes tar: Error is not recoverable: exiting now Please tell me what I am doing wrong? Please do help. (4 Replies)
Discussion started by: sonia102
4 Replies
Header(3pm)						User Contributed Perl Documentation					       Header(3pm)

NAME
Audio::FLAC::Header - interface to FLAC header metadata. SYNOPSIS
use Audio::FLAC::Header; my $flac = Audio::FLAC::Header->new("song.flac"); my $info = $flac->info(); foreach (keys %$info) { print "$_: $info->{$_} "; } my $tags = $flac->tags(); foreach (keys %$tags) { print "$_: $tags->{$_} "; } DESCRIPTION
This module returns a hash containing basic information about a FLAC file, a representation of the embedded cue sheet if one exists, as well as tag information contained in the FLAC file's Vorbis tags. There is no complete list of tag keys for Vorbis tags, as they can be defined by the user; the basic set of tags used for FLAC files include: ALBUM ARTIST TITLE DATE GENRE TRACKNUMBER COMMENT The information returned by Audio::FLAC::info is keyed by: MINIMUMBLOCKSIZE MAXIMUMBLOCKSIZE MINIMUMFRAMESIZE MAXIMUMFRAMESIZE TOTALSAMPLES SAMPLERATE NUMCHANNELS BITSPERSAMPLE MD5CHECKSUM Information stored in the main hash that relates to the file itself or is calculated from some of the information fields is keyed by: trackLengthMinutes : minutes field of track length trackLengthSeconds : seconds field of track length trackLengthFrames : frames field of track length (base 75) trackTotalLengthSeconds : total length of track in fractional seconds bitRate : average bits per second of file fileSize : file size, in bytes CONSTRUCTORS
"new ($filename)" Opens a FLAC file, ensuring that it exists and is actually an FLAC stream, then loads the information and comment fields. INSTANCE METHODS
o info( [$key] ) Returns a hashref containing information about the FLAC file from the file's information header. The optional parameter, key, allows you to retrieve a single value from the info hash. Returns "undef" if the key is not found. o tags( [$key] ) Returns a hashref containing tag keys and values of the FLAC file from the file's Vorbis Comment header. The optional parameter, key, allows you to retrieve a single value from the tag hash. Returns "undef" if the key is not found. o cuesheet( ) Returns an arrayref which contains a textual representation of the cuesheet metada block. Each element in the array corresponds to one line in a .cue file. If there is no cuesheet block in this FLAC file the array will be empty. The resulting cuesheet should match the output of metaflac's --export-cuesheet-to option, with the exception of the FILE line, which includes the actual file name instead of "dummy.wav". o seektable( ) Returns the seektable. Currently disabled for performance. o application( $appId ) Returns the application block for the passed id. o picture( [$type ] ) Returns a hash containing data from a PICTURE block if found. Defaults to type 3 - "Front Cover" When the passed variable is 'all', an array of hashes containing picture data from all PICTURE blocks is returned. Allows for multiple instances of the same picture type. o set_separator( ) For multi-value ID3 tags, set the separator string. Defaults to '/' o vendor_string( ) Returns the vendor string. o set_vendor_string( $string ) Set the vendor string. Will be written on write() o write( ) Writes the current contents of the tag hash to the FLAC file, given that there's enough space in the header to do so. If there's insufficient space available (using pre-existing padding), the file will remain unchanged, and the function will return a zero value. SEE ALSO
<http://flac.sourceforge.net/format.html> AUTHORS
Dan Sully, <daniel@cpan.org> COPYRIGHT
Pure perl code Copyright (c) 2003-2004, Erik Reckase. Pure perl code Copyright (c) 2003-2007, Dan Sully & Slim Devices. Pure perl code Copyright (c) 2008-2009, Dan Sully XS code Copyright (c) 2004-2007, Dan Sully & Slim Devices. XS code Copyright (c) 2008-2009, Dan Sully This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available. perl v5.14.2 2009-08-20 Header(3pm)
All times are GMT -4. The time now is 02:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy