LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2016, 11:20 AM   #1
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Rep: Reputation: 31
Question Linux commands to deal with a compressed bitstream


I have a file which I'm told is a compressed bitstream.

Any commands like lz4cat to deal with it? I want to decode it and things like unzip won't work because of the bitstream component.
 
Old 08-18-2016, 01:51 PM   #2
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Unless you know which compression format is being used you won't know which command to use.

Who told you it is a compressed bitstream and is there more information on the subject ?

Does the `file` command tell you anything about the compression used ?

Also it is very unlikely that unzip would be used as zip is a compression utility itself. You wouldn't compress the output of zip again. It is likely a tar or cpio archive that is then output to standard output and compressed through a pipe.

This approach is often used to create an initramfs as follows.

find . | cpio --quiet -c -o | gzip -9 -n > ../initramfs64-catalyst

To extract the above you would do the following

zcat initramfs64-catalyst | cpio -id
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
7.1 bitstream via HDMI CherylJosie Linux - Software 3 03-28-2015 04:34 AM
LXer: AMD's X-Video Bitstream Acceleration LXer Syndicated Linux News 0 10-29-2008 11:42 PM
No Bitstream Vera fonts included? marnold Slackware 3 07-08-2007 08:50 PM
howto use bitstream vera sans font in console? ygloo Linux - General 4 11-20-2006 06:35 PM
Keeping Fedora Bitstream Vera fonts dubya Fedora 1 07-12-2006 12:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration