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

 

Comments

Add Comments

Name:
Comment:

 

About

As someone who has worked on Macs since 1989, I will use my experience to share tips and tricks with you on Fridays. As a Mac user since 1989, I have seen the evolution of Mac software and hardware, and I know how Mac computers work. I also know how to troubleshoot and fix Mac problems that can arise.

Schedule

Monday Media Monday
TuesdayQA
WednesdaySnagIt for QA
ThursdayPython
FridayMacintosh
SaturdayInternet Tools
SundayOpen Topic