Unzip a ZIP file using tar command in Terminal bash
-bash: unzip: command not found
In case the unzip bash command in macOS Terminal.app is not available or working – e.g. when in the Recovery Mode of a Mac – but you still need to unzip a ZIP file, simply use the tar command!
$ cd /directory/where/zip-file/is/located
$ tar xopft zip-file.zip
Regular unzip in Terminal bash on macOS
For the record: whenever “unzip” is available – e.g. when running macOS normally – it just works with:
$ cd /directory/where/zip-file/is/located
$ unzip -v zip-file.zip
Remarks about verbose output
“xopft” (for tar) or “-v” (for unzip) both enable respective verbose mode – so you’ll see in the Terminal window what is going on during the extraction. If you don’t want this, just remove the respective characters from the commands.
If you want to get Apple’s iWork suite – Numbers, Pages, Keynote apps – for free (that means, save 60 bucks!), follow these steps:
- Download the iWork ’09 Trial: iWork09Trial.dmg
- Install it to your /Applications/ folder
- Now launch the Mac App Store, authenticate & go to “Updates”
- You should already see an update notice for all the iWork Apps
- Let the updates roll & you’re set: you got the newest iWork suite for free!
Do you do web stuff? Do you work on your projects using multiple Macs? Do you want to take your work on-the-go and sync it one-to-one to your laptop? Well for me this is the situation I was facing – and had to find a solution for.
In this article I will describe, how you can keep a local MAMP installation in-sync across multiple Macs with macOS (formerly OS X).
Before going into detail, here are some basic requirements you will need – and a simple, alternative approach to what follows:
- MAMP installed on all Macs (v4.0.4 used for this how-to)
- Resilio Sync installed on all Macs (formerly known as: BitTorrent Sync)
- Stop all MAMP servers, in case they are already running
- Keep the Terminal.app ready
Alternative approach, without a sync tool
Instead of syncing all the files between your Macs automatically using the mentioned sync tool, you can do this by just keeping all the files on one portable USB disk drive. Of course you will need to plugin the drive to whichever Mac you are currently working on!
How-to configure MAMP to sync across multiple Macs
the key to keep MAMP in-sync across multiple macOS is to place a few important files & folders at a central place (not inside the MAMP directories), sync those extracted files to all your Macs and link them on each of them – using symbolic links – back at their original place. But let’s have a look at this in detail.
On OS X, the best way to almost natively test apps or websites is by using the so called “iOS Simulator” (now named simply “Simulator”) which is available as part of the installed Xcode Development Tools. Even though it requires a development suite installed, the tool itself is not only relevant for developers but also for testing or previewing e.g. mobile optimized websites or do a Screen Recording in iOS!
By default, after having Xcode installed on your Mac, the Simulator.app must be started via
Xcode.app > Xcode > Open Developer Tool > Simulator
This way to start it is cumbersome and takes a lot of time.
But good news: the iOS Simulator is delivered as a standalone app actually – hidden inside the Xcode.app Package Contents!
So to bypass Xcode for starting the Simulator, I wrote a simple Automator application which directly launches the Simulator.app!
You can download it here or – by following these steps – create it yourself.
Yes I admit, I use Google Search a lot – it’s my default and preferred search engine on most of my devices and computers. I do regularly use DuckDuckGo Search – but often, especially when phrasing more unspecific searches – Google just gives better results (meaning, sometimes I search something and Google shows me with the FIRST result what I was looking for, whereas DuckDuckGo seems NOT to understand what I was searching for at all 🙂 ).
What I appreciate most about Google Search is just how extensive it is in providing accurate information to queries, where I am only looking for a certain specific information, rather than various result pages to websites. In this post I’m showing you some of my favourites – some of which I use almost daily.
Using a simple search query in Google, you can convert any amount in one currency to another, whereas Google takes the current/today’s exchange rate:
Apple’s very own Reminders.app, available on OS X, iOS and iCloud, comes with a very neat yet helpful feature: intelligent interpretation of a new reminder/to-do text!
What does this mean?
Look at below examples: when you type a new reminder and include date & time in the text, the Reminders App will automatically recognize this as the due date of the new reminder and update the entry accordingly. This is not only much simpler and faster than setting due dates manually, but also more natural.
Just recently I found out about the awesome Twitter Statistics that you can activate for your Tweets. With this feature, Twitter gives you great insights about the reach and interactions of every single Tweet you publish – and of course sums it all up in a nice Dashboard. And the best: it comes at no costs!
Here are the 2 simple steps how you can turn on the Twitter Analytics on your account:
- Go to the Twitter Analytics homepage at https://analytics.twitter.com/
- Login with your Twitter account
- Done, Twitter Analytics are now activated for your Twitter account!
How can I verify, that Twitter Analytics is working?