QA Graphic

Combine Files using BBEdit

Easy way to Combine Files in MacOS

Earlier this week I had a bunch of Apache log files that I wanted to combine into a single file. I was trying to figure out the best way to do it. A quick Google search showed me a solution from 2014. The purpose of this post is to say that it still works!

B Bedit Combine Files

In BBEdit

Here are the steps to quickly merge a bunch of files:

  1. Open up BBEdit
  2. Create a new Text Document (Command N)
  3. Go Under Edit menu and select Insert then 'File Contents...'
  4. Select the files that you wish to add then click Insert

Alternate Way

  1. Open up BBEdit
  2. Create a new Text Document (Command N)
  3. In the Finder drag and drop the text files into the BBEdit window

Using the Command Line

Another solution is to use the Cat Unix command in Terminal. Here's a sample of what that would look like:

cat access.log.* >> website.log

 

About

A Mac veteran since 1989, I'm here to share my experience with tips and tricks every Friday. Witnessing the evolution of Mac software and hardware firsthand, I've gained a deep understanding of how these machines work and can help you troubleshoot any issues that may come up.

Schedule

MondayMedia Monday
TuesdayQA
WednesdayAffinity
ThursdayBBEdit
FridayMacintosh
SaturdayInternet Tools
SundayOpen Topic