Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Unix : How to cut a file into pieces?

RE: Unix : How to cut a file into pieces?

From: Rachel Carmichael <carmichr_at_hotmail.com>
Date: Thu, 10 Aug 2000 00:47:45 GMT
Message-Id: <10584.114230@fatcity.com>


www.lazydba.com.... check the scripts archives, look under export/import

I have posted a script there that does an export piped into a compress piped into a split and one that puts the files all back together for the import.

but if you split it on Unix, I don't believe there is an equivalent command to pipe it back into the import.

Rather than compress, use zip or pkzip for unix

Rachel

>From: "Cotham, Pam" <pam.cotham_at_eds.com>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: RE: Unix : How to cut a file into pieces?
>Date: Wed, 09 Aug 2000 15:15:41 -0800
>
>Why don't you compress it?
>
>Pamela A. Cotham
>Senior System Engineer/Oracle DBA
>EDS CA-XIX Senior Consultant
>916.636.1964
>pamcotham_at_eds.com
>
> > -----Original Message-----
> > From: Deepender_Gupta_at_escorts.co.in [SMTP:Deepender_Gupta_at_escorts.co.in]
> > Sent: Friday, July 28, 2000 12:45 AM
> > To: Multiple recipients of list ORACLE-L
> > Subject: Re: Unix : How to cut a file into pieces?
> >
> >
> >
> > Dear all,
> > can we split a dmp file by using the split command if the file size is
>too
> > big to be used by ftp.
> > as it is taking too much time to get transfer from Unix server to NT
> > server.
> > Regds
> >
> >
> >
> >
> >
> >
> >
> > To: Multiple recipients of list ORACLE-L
> > <ORACLE-L_at_fatcity.com>@SMTP_at_AMG1
> > cc:
> >
> > use combinations of head and tail and re-direct the output
> >
> > head -10000 filename>filename2 puts 1st 10000 lines into
> > filename2
> > tail +10001 filename|head -10000>filename3 puts next 10000 lines into
> > filename3
> >
> > etc....see man pages for more info
> >
> > At 09:44 AM 7/27/00 -0800, Veronica Levin wrote:
> > >I was wondering if there is a way to cut a 63MB text file into small
> > pieces
> > >without opening it with vi.
> > >
> > >Verónica Levin Enríquez
> > >Administrador AIX
> > >Compañía Cervecera de Nicaragua
> > >Teléfono: 505-2493779
> > >Fax: 505-2443979
> > >Email: vlevin_at_victoria.com.ni
> > >http://www.victoria.com.ni
> >
> > ============================================================
> > Kenneth Komoto Email: kgkomoto_at_ucdavis.edu
> > Office of the Registrar Phone: (530)752-7197
> > University of California Fax : (530)752-0329
> > Davis, Ca 95616
> >
> > --
> > Author: Ken Komoto
> > INET: kgkomoto_at_ucdavis.edu
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access / Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> >
> >
> >
> >
> >
> >
> > --
> > Author:
> > INET: Deepender_Gupta_at_escorts.co.in
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access / Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
>--
>Author: Cotham, Pam
> INET: pam.cotham_at_eds.com
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).


Received on Wed Aug 09 2000 - 19:47:45 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US