I have a file larger than 5 GB. Are there any programs/tools that will be able to open it and copy & paste the contents?
If not, can it be done by writing a program?
migration rejected from stackoverflow.com May 10 at 15:18
This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.
closed as off-topic by Ƭᴇcʜιᴇ007, Tog, Indrek, Kevin Panko, random♦ May 10 at 15:18
This question appears to be off-topic. The users who voted to close gave this specific reason:
Yes, it can be better to use this approach if the operation is something you will have to do often.
There are many scripting tools that are well suited to this sort of task. One of them is Perl. Perl is included in most Linux & Mac systems and available free for Windows
Example: "copy" all text between and including lines starting "Apple…" and "Orange…" from file1.txt and "paste" (actually append) it to the end of file2.txt
The above can be typed at a command prompt. The part between quotes is the program (or script).