Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6132305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:05:10+00:00 2026-05-23T17:05:10+00:00

How do you convert a raw csv file (which has 1.6GB size) into .xlsx

  • 0

How do you convert a raw csv file (which has 1.6GB size) into .xlsx type in linux command without opening that file.Since it couldn’t be opened by the 2GB ram.so as it need to be converted into xlsx type .

Also Is there any alternative way to process this kinda file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:05:11+00:00Added an answer on May 23, 2026 at 5:05 pm

    It’s PHP based…

    Pre-requisite: PHP support, ie. php server, use XAMPP…

    Go to following link & download:
    http://phpexcel.codeplex.com/

    Unzip the file & Assuming u unzip it to /etc/phpExcel

    Here is the code:

    <?php
    
    error_reporting(E_ALL);
    date_default_timezone_set('Europe/London');
    
    /** PHPExcel_IOFactory */
    
    require_once '/etc/PHPExcel/Classes/PHPExcel/IOFactory.php';
    
    $file=""; //PATH TO CSV FILE`
    
    // Check prerequisites
    
    if (!file_exists($file)) {
        exit("Please run 06largescale.php first.\n");
    }
    
    $objReader = PHPExcel_IOFactory::createReader('CSV');`
    $objPHPExcel = $objReader->load($file);
    
    $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');
    $objWriter->save(str_replace('.csv', '.xlsx',$file));
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ImageMagick to convert a RAW file (*.nef extension) into a JPEG image.
the following function parses a CSV file into a list of dictionaries, where each
What is the right way to convert raw array of bytes into Image in
Imagine an raw url which i want to convert to lowercase, have all spaced
I'm working on a project under which i have to take a raw file
How to convert this raw javascript into jQuery: document.getElementById('myIframe').contentWindow.document.body.innerHTML
Is there a way/tool to auto convert Java source code from using raw types
How do I convert function input parameters to the right type? I want to
I need to convert latitude/longitude coordinates into Easting/Northing coordinates in the Alberta 10 TM
I would like to convert a raw string to an array of big-endian words.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.