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.
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.
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?
Since some time I noticed an issue with Safari 8 on OS X 10.10 Yosemite and Facebook Single-Sign-On Login Buttons on websites not working anymore. Basically on all sites which are providing the possibility to log in using your Facebook account, such as airbnb.com or pinterest.com and many others, I wasn’t able to log in anymore…
Returns only existing, direct links to static Google’s Earth View (Pretty Earth) images.