Community
    • Login

    Splitting or Breaking one file into multiple smaller ones

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 91.7k Views 2 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.
    • Nithin Gopal DoddamaneN Offline
      Nithin Gopal Doddamane
      last edited by

      I need to split my notepad++ file of around 30,000 records into multiple smaller size files. Is there a way to do that in Notepad++? Please help me out with this.

      1 Reply Last reply Reply Quote 0
      • Jim DaileyJ Offline
        Jim Dailey
        last edited by

        @Nithin-Gopal-Doddamane

        Not really an editor task. If you know a scripting language like AWK, PERL, Python, etc. you should use it.

        If you want N lines in each small file you can:

        <Ctrl>+G then enter the number N+1
        <Ctrl>+<Shift>+<Home>
        <Ctrl>+X to cut the first N lines from the big file
        <Ctrl>+N to open a new file
        <Ctrl>+V to paste the cut lines into the new file
        Then save the new file.
        <Ctrl>+<Tab> to switch back to the “big” file.
        Repeat until done.

        1 Reply Last reply Reply Quote 0

        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