Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Unix : How to cut a file into pieces?
split -b10m exp_test.dmp.Z exp_test.dmp.Z
10m .. Size of the split files is 10MB. use the convenient number in place
of 10
The split file names are exp_test.dmp.Zaa, ...Zab, ...Zac etc
-----Original Message-----
From: Cotham, Pam [mailto:pam.cotham_at_eds.com]
Sent: Wednesday, August 09, 2000 4:16 PM
To: Multiple recipients of list ORACLE-L
Subject: RE: Unix : How to cut a file into pieces?
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 mayReceived on Wed Aug 09 2000 - 18:46:29 CDT