• Login
Community
  • Login

Splitting to multiple files

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
8 Posts 4 Posters 4.8k Views
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.
  • M
    Mohammed Khan
    last edited by Sep 23, 2021, 12:01 PM

    Hi,

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

    E A 3 Replies Last reply Sep 23, 2021, 12:27 PM Reply Quote 0
    • E
      Ekopalypse @Mohammed Khan
      last edited by Sep 23, 2021, 12:27 PM

      @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
      • E
        Ekopalypse @Mohammed Khan
        last edited by Sep 23, 2021, 12:29 PM

        @Mohammed-Khan

        Did you see this post?

        1 Reply Last reply Reply Quote 0
        • A
          Alan Kilborn @Mohammed Khan
          last edited by Sep 23, 2021, 12:43 PM

          @Mohammed-Khan said in Splitting to multiple files:

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

          Probably not with Notepad++.

          A 1 Reply Last reply Sep 23, 2021, 8:32 PM Reply Quote 1
          • A
            Alan Kilborn @Alan Kilborn
            last edited by Sep 23, 2021, 8:32 PM

            @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
            • T
              Terry R
              last edited by Sep 23, 2021, 8:42 PM

              @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

              A 1 Reply Last reply Sep 23, 2021, 8:48 PM Reply Quote 0
              • A
                Alan Kilborn @Terry R
                last edited by Sep 23, 2021, 8:48 PM

                @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)?

                T 1 Reply Last reply Sep 23, 2021, 8:51 PM Reply Quote 0
                • T
                  Terry R @Alan Kilborn
                  last edited by Sep 23, 2021, 8:51 PM

                  @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
                  4 out of 8
                  • First post
                    4/8
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors