Categories
Mac Web

Editing hosts file quickly using the command line or an app on macOS

For the longest time, I used the Hostbuddy for Mac app to edit my hosts file and flush my local DNS cache. I still recommend the app to anyone who wants to edit their hosts file on Apple’s operating system using a GUI. However, I have recently started using the command line in conjunction with […]

Categories
Mac Web

Ignoring .git and hidden files when zip archiving on macOS using the command line

macOS click-and-point file and folder archiving is limited. Often when I need to archive a code project folder that has GIT version control files and other assets I do not want to be zipped. For such a task click-and-point fall short but the command line gets the job done. To ignore files and folder when […]