Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Splitting to multiple files

    Help wanted · · · – – – · · ·
    4
    8
    381
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Mohammed Khan
      Mohammed Khan last edited by

      Hi,

      i have number of rows 17010000 which i needs to split in 12 files how can we do that …?

      Ekopalypse Alan Kilborn 3 Replies Last reply Reply Quote 0
      • Ekopalypse
        Ekopalypse @Mohammed Khan last edited by

        @Mohammed-Khan

        You have not given much information about how you want to split it?
        By a line number?? By something else?

        1 Reply Last reply Reply Quote 0
        • Ekopalypse
          Ekopalypse @Mohammed Khan last edited by

          @Mohammed-Khan

          Did you see this post?

          1 Reply Last reply Reply Quote 0
          • Alan Kilborn
            Alan Kilborn @Mohammed Khan last edited by

            @Mohammed-Khan said in Splitting to multiple files:

            i needs to split in 12 files how can we do that …?

            Probably not with Notepad++.

            Alan Kilborn 1 Reply Last reply Reply Quote 1
            • Alan Kilborn
              Alan Kilborn @Alan Kilborn last edited by

              @Alan-Kilborn said in Splitting to multiple files:

              Probably not with Notepad++.

              Actually, what I meant was, not on a “click on a menu command” type basis.

              Of course, you can manually copy and paste data to 12 different Notepad++ tabs which can be saved as 12 different files.

              You could also write some sort of script (either inside or outside of Notepad++) to do it.

              1 Reply Last reply Reply Quote 1
              • Terry R
                Terry R last edited by

                @Alan-Kilborn said in Splitting to multiple files:

                @Alan-Kilborn said in Splitting to multiple files:

                Probably not with Notepad++.

                Actually, what I meant was, not on a “click on a menu command” type basis.

                I actually took it to mean there should be (and are) many better applications available to do this task. Using Notepad++ seems like overkill, sure it can do it, but not the best tool.

                A quick look on the web shows many free programs that are far better at this splitting task, many with options to equalise the number of lines in each, or split at so many characters or many other ways.

                Terry

                Alan Kilborn 1 Reply Last reply Reply Quote 0
                • Alan Kilborn
                  Alan Kilborn @Terry R last edited by

                  @Terry-R said in Splitting to multiple files:

                  Using Notepad++ seems like overkill, sure it can do it

                  I’m actually not sure what Notepad++ could do to achieve it, other than the very-manual process I described above with copy/paste (maybe more accurately specified as cut/paste). Did you have something in mind that was more sophisticated than that (but still a poor approach compared to non-N++ solutions)?

                  Terry R 1 Reply Last reply Reply Quote 0
                  • Terry R
                    Terry R @Alan Kilborn last edited by

                    @Alan-Kilborn said in Splitting to multiple files:

                    Did you have something in mind that was more sophisticated than that (but still a poor approach compared to non-N++ solutions)?

                    Nope, just the same as you. it would require effort in setting up the PythonScript (or other program lang.), or regex to do the job. then if OP wasn’t happy with result, having to change the process to accommodate. The non-N++ solutions have all those options baked in, so far easier.

                    Also the number of lines the OP stated makes me wary that a buffer overload may occur as well.

                    Terry

                    1 Reply Last reply Reply Quote 2
                    • First post
                      Last post
                    Copyright © 2014 NodeBB Forums | Contributors