Community
    • Login

    Splitting to multiple files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    8 Posts 4 Posters 6.9k Views 1 Watching
    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 KhanM Offline
      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 …?

      EkopalypseE Alan KilbornA 3 Replies Last reply Reply Quote 0
      • EkopalypseE Offline
        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
        • EkopalypseE Offline
          Ekopalypse @Mohammed Khan
          last edited by

          @Mohammed-Khan

          Did you see this post?

          1 Reply Last reply Reply Quote 0
          • Alan KilbornA Offline
            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 KilbornA 1 Reply Last reply Reply Quote 1
            • Alan KilbornA Offline
              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 RT Offline
                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 KilbornA 1 Reply Last reply Reply Quote 0
                • Alan KilbornA Offline
                  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 RT 1 Reply Last reply Reply Quote 0
                  • Terry RT Offline
                    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

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors