I’ve kept daily journal entries in Text Edit. Is there a way I can combine them into one file without cutting and pasting? I’m using TextEdit 1.1 on Mac OS El Capitan Version 10.11.6.
MacOS – combine TextEdit files w/o copying and pasting
macostextedit
Related Question
- Mac – What to use for a plain text editor
- Way to refresh a file that is opened by TextEdit
- MacOS – How to get all the open TextEdit documents back
- MacOS – TextEdit hangs when trying to reopen documents. Can I recover all documents except the one causing problems
- How to prevent TextEdit from saving previous versions of a text file
- macOS TextEdit – Fix TextEdit Not Closing Without File Name Prompt
Best Answer
Credit:https://discussions.apple.com/thread/2242153?tstart=0
You can achieve this by opening terminal and typing
cd [path of the folder where your journals are located]
you should replace [ ] with the the folder where your diary entries are written , just drag and drop the folder into the terminal window.(Remember to hit space after typingcd
) Then you can merge all the text edit files into one by typingcat file1.txt file2.txt file3.txt > file4
The file1.txt, file 2.txt and so on will be your diary entries so if you have more just type the name of the file followed by a space and the>
symbol will merge all the documents into one file4.txt you can change the name as per your concern.