Link to home
Start Free TrialLog in
Avatar of bibi92
bibi92Flag for France

asked on

generate several csv files when execute shell script

Hello,

an oracle execute in a shell script generates a csv file of several million lines.The size of file is 10GB
How is it possible to split the result in several files?

Thank you

regards 
Avatar of DEMAN-BARCELO (MVP) Thierry
DEMAN-BARCELO (MVP) Thierry
Flag of France image

Hello,

you can find some different solutions on this link : (scripts, tools, ...)

How to split large text file in windows? - Stack Overflow 

That is easier on Linux :) 
Regards,
Simple solution is to use the split tool.

This tool is installed by default on all Linux Distros.

There are also many Windows ports of the split tool, or you can write your own, which would be fairly straightforward...
Avatar of bibi92

ASKER

Hello

Thank you not in windows in a shell unix script

Best regards 
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial