Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

HOw to use compress large files

Status
Not open for further replies.

mitchell

Member level 3
Joined
Jul 30, 2002
Messages
59
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
521
Dear all:

I tar a directory . then the size is very large , about 6G , then I use
gzip to zip it , But I can't do that , Does anyone know how to solve this problem ? Oh.. Do otehr tools do that . Thanks
 

What you mean by "cannot do this" ?

Is the OS not allowing it or what?

Maybe piping tar through gzip?
 

I don't know . we use Linux 7.2 version , and when I use gzip to zip files . It will say " the lage value .. then break ' I don't know what's prob;em of this
 

Try use pipeline.
 

The winRAR compression program allows you to split the compressed file into smaller files (of a size you specify) with numerals after them. It also allows the addition of extra error correction code so that if a file gets corrupted it will repair it upon expansion.
 

Excuse me . What's " pipeline " mean ?
Becasue my folder is large . and I don't want to split
this folder . so I use tar . then How can I do it after
finish tar files . Can I use WinRAR in the Linux 7.2 version ???
 

tar cvf jdir.tar jdir
(where jdir is that name of a directory)

where c-compress, v-verbose, f-force

this should work.
 

nope..."-f" is file....
and always has to be the last argument to "tar"

please see the man page (o;
 

Excuse me , I finish the tar file , and this files is large about 6G , but gzip can not compress it , can I
use some command to split this files . or other method . thank ..
 

Use the "split" command....see the man page for how to use it...
 

Try use pipeline.
In RedHat linux, you dont have to use pipeline.
Just use tar zxvf for extract, and tar zcvf for compress.
z switch is using gzip to extract or compress.
 

-L, --tape-length N
change tapes after writing N*1024 bytes
-M, --multi-volume
create/list/extract multi-volume archive

-S, --sparse
handle sparse files efficiently
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top