Cocktail is a general purpose utility for OS X that lets you clean, repair and optimize your Mac. It is a powerful digital toolset that helps hundreds of thousands of Mac users around the world get the most out of their computers every day.

Get Cocktail here

Fix Time Machine when stuck on "Preparing backup..."

Time Machine is the simplest way to keep regular backups of a Mac. On some rare occasions though, Time Machine may get stuck on the "Preparing backup…" stage for an inordinately long amount of time, causing a backup to never start. So lets fix this specific Time Machine issue.

The first thing you need to do is cease the currently failed backup attempt:

• Open System Preferences from the Apple menu and click "Time Machine"
• Click the (x) icon on the right side of the progress bar to stop the backup attempt

When the progress bar disappears and it no longer says "Preparing backup…" you're good to begin the troubleshooting process.

• Open the Time Machine drive in the Finder and navigate to the "Backups.backupd" folder
• Open the folder within Backups.backupd that is the name of the current Mac which is stuck on preparing
• Put this directory into "List View" and sort by ‘Date Modified', or just search the folder for a file with a ".inProgress" file extension
• Delete the "xxxx-xx-xx-xxxxxx.inProgress" file. The .inProgress file is always in the form of xxxx-xx-xx-xxxxxx.inProgress, where the first 8 digits are the year-month-day (date) and the next 6 or so digits are random numbers, followed by the inProgress file extension.
• Restart your Mac
• Once rebooted, let Spotlight run completely (you can either just wait it out or watch the mdworker, mrs, and related processes in Activity Monitor). This should cause macOS to re-index the attached Time Machine drive if it's needed, which may be getting in the way of Time Machine backing up properly thus causing the computer to get stuck on "Preparing backup..." for a very long time.
• Start a back up yourself. Pull down the Time Machine icon and choose "Back Up Now". You will still see a "Preparing backup…" message but it should be gone within a few minutes, depending on the size of the hard drive, the speed of the Mac, and the size of the backup to be made. At this point, your Time Machine backup will proceed as expected, so just let it run and you're good to go again.

 

Do Macs get viruses?

Posted in General Security

Wondering whether you need antivirus software to protect your Mac? macOS is more secure than Windows, but you'd be wise to look carefully at your security options.

The Mac is generally considered to be safe and secure, and there are a number of reasons why Macs are considered more secure than PCs. Malware writers are less likely to target Mac users because of the perception that it has a far smaller market share than Windows. There is also the fact that the Mac operating system is Unix-based, and Unix offers a number of security features built in.

Apple goes to great lengths to protect you from malware by making it impossible for you to download it in the first place. The company has built-in antimalware protection in macOS. The Mac's malware scanning tool, Xprotect, works invisibly and automatically in the background and requires no user configuration. Apple has a list of malicious applications that it checks against when you open downloaded applications. Updates happen invisibly too. This is similar to having antivirus software from another software developer running on your Mac, with the bonus of being written into the operating system and therefore it doesn't hamper the speed of your Mac. If you download and try to open files contaminated with malware, you may see an explicit warning that the files will "damage your computer", along with a reference to type of malware. You should delete the file immediately.

In addition, macOS blocks downloaded software that hasn't been digitally signed - a process in which Apple approves the developer. This leads to the familiar error message when you try to use or install unsigned software: "[this app] can't be opened because it is from an unidentified developer.". The system at work here is called Gatekeeper and can be controlled via the Security & Privacy section of System Preferences. In addition to Gatekeeper, which should keep malware off you Mac, FileVault 2 makes sure your data is safe and secure by encrypting it.

It's certainly not an essential requirement to install antivirus software on your Mac. Apple does a pretty good job of keeping on top of vulnerabilities and exploits and the updates to the MacOS that will protect your Mac will be pushed out over auto-update very quickly. However, sometimes Apple doesn't respond as quickly as Mac users might hope. In that case there are some free anti-virus apps (such as Sophos Anti-Virus for Mac Home Edition or ClamXav) that might give you some peace of mind.

Check the battery cycle count on a portable Mac

Posted in Troubleshooting

If you have a MacBook, MacBook Air or MacBook Pro, you can check the battery cycle count to get an idea of overall battery health. Here’s how you can do that yourself, right from the macOS built in system management functions.

This works for all batteries in portable Mac models.

• Pull down the () Apple menu and choose "About This Mac".
• Click the "System Report…" button.
• Under Hardware, select "Power" and look for "Cycle Count" under the "Battery Information" portion.

The number shown is the cycle count of the current battery. A battery charge cycle is when the battery has been drained to 0% and then refilled to 100% of it's maximum capacity. Knowing the cycle count is helpful if you suspect your battery is having problems retaining a charge. Apple says new notebook batteries are designed to retain 80% of original capacity after 1000 cycles. If your battery is performing at less than expected and is still under warranty, it may be a good idea to schedule an appointment with an Apple Genius.

 

Find large files in macOS

Posted in Finder Tips & Tricks

Whether you're feeling the pinch as hard drive space runs low or you're just wondering where all your disk space went, it's easy to find large files in macOS by using the built-in search tools.

Here's what to do:

• From the macOS Desktop, open any new Finder window
• Hit Command+F to bring up Search
• Click on "Kind" filter and select "Other", then select "File Size" from the attribute list
• Click on the second filter and choose "is greater than"
• In the third space, enter the size to search for anything greater than (ex: 100) and choose either MB or GB as the final filter

The file and app list below will automatically update as anything larger than the specified file size is found on the hard drive. Be sure that "This Mac" is selected if you're getting limited results, though you can also use the search limiters to find large files contained within single folders or user directories.

Want to use this feature to track down large files often? Click on the "Save" button in the upper right corner and you'll turn the File Size search into a Smart Folder that can be easily accessed from the sidebar for easy future retrieval, plus that folder will constantly be updated with large files only, making it a very useful way to instantly find any big item laying around on a Mac.

A common pit of enormous files is the user Downloads folder, when using the file size search don't be surprised if you run into a fair amount of .dmg and .zip files sitting idly in there that have long been forgotten.

 

Speed up internet by using alternate DNS servers

Did you know that Google has their own DNS server which claims to be several times faster than your normal DNS?

DNS server can be described as a phone book for the internet. Every website on the internet has an IP-address (for example Google's is 74.125.95.104), but remembering these addresses for every website you want to visit is a pain. What the DNS (Domain Name Server) server does is translate www.google.com into 74.125.95.104 and direct your browser to that page.

Normally the DNS server is hosted by your internet service provider but Google claims that their server is both faster and more secure, giving you a better online experience.

To use Google’s servers simply open System Preferences and click Network. Select the network connection you use to go online (normally AirPort if you use wireless or Ethernet if you are wired), press "Advanced…" and then select DNS at the top. Now you are presented with two lists, below left one there is a button with a plus sign. Click it and enter:

8.8.8.8

and in a new line:

8.8.4.4

Click OK, then Apply (if the DNS options are grayed out when you try to change them, just click the padlock in the lower left of the Network settings screen and enter your password when prompted). You may have to restart your browser for the changes to take effect.

It is worth keeping in mind that Google will be able to view your browsing habits, so it is a good idea to have a read through their privacy statement (https://developers.google.com/speed/public-dns/privacy).

Otherwise, if you'd rather not use Google’s DNS server but want faster browsing, you can use a tool such as Namebench (http://code.google.com/p/namebench) which tests a whole bunch of DNS servers (such as OpenDNS or DNS.WATCH) and finds out which one is the fastest for you.