Rename file names in directory to creation timestamp with second precision

If all the files are in the same directory, then in Terminal, changed directory, e.g. cd /path/to/directory and then use the following compound command:

for f in *.*; do echo mv -n "$f" "${f%.*}-$(stat -f'%SB' -t "%H_%M_%S" "$f").${f##*.}"; done

Note: There is an intensional echo command that is there for you to test with, and it will only print out the mv command for you to see that it's the outcome you wish. You can then run it again removing just echo from the compound command to actually rename the files as desired via the mv command.

Example:

$ touch 35eafb32-8005-11e9-bc42-526af7764f64.png 419f0eb4-8005-11e9-bc42-526af7764f64.png 43249984-8005-11e9-bc42-526af7764f64.png
$
$ ls -1
35eafb32-8005-11e9-bc42-526af7764f64.png
419f0eb4-8005-11e9-bc42-526af7764f64.png
43249984-8005-11e9-bc42-526af7764f64.png
$
$ for f in *.*; do echo mv -n "$f" "${f%.*}-$(stat -f'%SB' -t "%H_%M_%S" "$f").${f##*.}"; done
mv -n 35eafb32-8005-11e9-bc42-526af7764f64.png 35eafb32-8005-11e9-bc42-526af7764f64-19_56_35.png
mv -n 419f0eb4-8005-11e9-bc42-526af7764f64.png 419f0eb4-8005-11e9-bc42-526af7764f64-19_56_35.png
mv -n 43249984-8005-11e9-bc42-526af7764f64.png 43249984-8005-11e9-bc42-526af7764f64-19_56_35.png
$
$ for f in *.*; do mv -n "$f" "${f%.*}-$(stat -f'%SB' -t "%H_%M_%S" "$f").${f##*.}"; done
$
$ ls -1
35eafb32-8005-11e9-bc42-526af7764f64-19_56_35.png
419f0eb4-8005-11e9-bc42-526af7764f64-19_56_35.png
43249984-8005-11e9-bc42-526af7764f64-19_56_35.png
$

Understanding the bash compound command:

for f in *.*; do ...; done    For every file in the current dir do the following command(s) to them.
echo    Print what follows. (Must be removed for the mv command to actually work.)
mv -n source target    Move files, do not overwrite an existing file, filename, new filename.

"$f"    The source filename.
"${f%.*}-$(stat -f'%SB' -t "%H_%M_%S" "$f").${f##*.}"    The target filename.
${f%.*}    Name portion of the filename without the extension. See Parameter Expansion in the bash man page.
-    The HYPHEN-MINUS character.
$(...)    Command Substitution, allows the output of a command to replace the command name.
stat -f'%SB' -t "%H_%M_%S" "$f"
stat    Display file status. See its man page for more details.
-f'%SB'    −f format    Display information using the specified format. See the FORMATS section for a description of valid formats. In this case %SB represents string output of the birth time of the inode. (The time the file was created.)
-t "%H_%M_%S"    −t timefmt    Display timestamps using the specified format. This format is passed directly to strftime(3). In this case it represents the hour, a LOW LINE character (AKA underscore), the minute, a LOW LINE character, the second.
%H    Is replaced by the hour as a decimal number (00-23).
%M    Is replaced by the minute as a decimal number (00-59).
%S    Is replaced by the second as a decimal number (00-60).
"$f"    The source filename.
.    The FULL STOP character. (AKA dot or period.)
${f##*.}    The extension portion of the filename. See Parameter Expansion in the bash man page.

Note that the upper case character names are that which show in Character Viewer on a US English install of macOS.


Multiple-partition hard drive on Airport Extreme

No, this isn't possible. According to Apple Support:

  Time Machine can’t back up to an external disk connected to an AirPort
  Extreme, or to an iPod, iDisk, or disk formatted for Windows.

However, the same KB also notes that:

  You can use Time Machine with a Time Capsule, and with USB, FireWire,
  and Thunderbolt disks. The backup disk can be directly connected to
  your computer or be on a network. If the backup disk has been divided
  into partitions, you can use one of the partitions.

You just can't have that drive hooked up to the Airport Extreme.


Windows not updating folders from the OS X drive

My experience with Windows 8.1 and Yosemite is the HFS+ drivers installed in Windows do not work very well. In defense of Apple, I have a 2007 iMac and Windows 8.1 is not approved for my model.

I assume you are not using Core Storage. If so, you could try the free drivers from Paragon. See link HFS+ for Windows® 8/8.1 Free Edition

Note: You can test for Core Storage by opening a Terminal application window and entering the following command.

diskutil  cs  list

If you are not using Core Storage, the result will be

No CoreStorage logical volume groups found


Secure iCloud storage for years in advance

If I understand your question correctly, you are worried that a rejected payment will cause you to lose all of your iCloud-stored data within 15 days.

Instead of prepaying for something whose price drops on a regular basis (which might not even be possible), I would advise you to purchase iTunes gift cards. If you search around, you can find some deals on them from time to time (eg. $5 off a $50 card). That way, you protect your iCloud data against rejected payments, while keeping the ability to take advantage of the occasional cloud-storage price drop.

Your iTunes balance will always be used before your credit card (at least in the US). Load up your account with $150, and you’ve got yourself a year of prepaid 1TB storage on iCloud, with enough leftover for an iTunes Match subscription.

The risk, of course, is you might start spending more on iTunes and apps since you’ve got a balance there, but that is entirely up to you.

Note: App Store cards are equivalent to iTunes cards, but NOT Apple Store cards. Apple Store cards can ONLY be used at an Apple Store or the Apple Online Store.

A good way to think about it is: iTunes/App Store cards = software & services, whereas Apple Store cards = physical goods.


There shouldn't be any delay. It's likely it's just a bug - perhaps one of the graphics files in the app file didn't get swapped out. It happened with Reeder for iPhone recently. Or the release notes were in error (I note they don't seem to mention any icon update now).


How to access gmail via pop instead of imap in mail.app in mavericks

The magic Option key again: when you are setting up an account, don't click on Create, but hold down the Option key and the button will change to Next - where you can continue to IMAP or POP, and it is recommended even with IMAP that you set up Google not as a Google account but through this, the last, unbranded choice in the Internet Accounts preference pane.

I have some hope this info will be used in the other zillion questions on the same subject.


Looking to ease workflow between RSS reader and Google Plus on iPad

I suggest you try out a native app (such as Reeder) with support for sharing through various services and which will eventually get support for Google+. Until then, perhaps a bookmarklet for Safari will do? See here.


Can I add folder keyboard shortcuts? (like there are for Home, Downloads, etc)

It is indeed possible. To look at how, please read this answer – it's better than I could have explained.

Specifically, you would want to try what's written under the steps:

  To open a new window every time, add a Get Specified Finder Items action, drop the folder you want to open on the list, and then add a Reveal Finder Items action.

So in Automator you would add your folder as described above, and then carry out step 4, assigning whichever shortcut you wanted for it.


Is there a way to have something similar to Cygwin on Mac?

On windows, the Cygwin is a Unix-like environment.
OS X (now macOS) is full on UNIX, so there is no need for any additions to get these unix tools.

Open Terminal.app and start with manual pages.

The more and tail -f commands are typical unix commands to page, search, and watch a log file.

For your example, the tail command to watch your log file is:

tail -f /Applications/MAMP/htdocs/BO_V2/data/logs/log-2014-07-10.php


Speed of access on HFS+ drives is not that affected by fragmentation unlike Windows file systems as OSX will do some defragmentation. A third party investigation is here.

You might be better off checking there is enough free space for new files.

There are some utilities to do defragmentation like iDefrag


I would use the terminal to sort things out if you don't see what's happened in Disk Utility.

diskutil list

From there, you can see all the names and numbers OS X has given to the volumes/partitions. Eject them all (except for the booted OS). diskutil eject disk2s2 etc...

At that point, you might need to clean up the bad mount points.

ls -l /Volumes

At this point you want to be sure you're not deleting actual files so if you're not comfortable using rm in terminal, you can use the Finder. Use the Go menu to Go to Folder... and enter /Volumes

Rename the Macintosh HD to something like temp and then move all the bad mount points to the trash and rename your boot volume to be what you wish. Now when you mount the drives the name should match what you have in Disk Utility.


Photos.app Edit-mode UI broken after upgrading to High Sierra

Earlier today, I discovered that if I clicked where the pull-down arrow was supposed to be, the application behaved as expected, and the additional options dropped down.

Some kind of bug, I thought.

It turns out, I had "Increase Contrast" turned on in Accessibility system preferences.  When I toggle this on, the triangle there, but only +2% lighter than the surrounding pixels:  #202020 on an #1C1C1C background, a +2% difference, as reported by Digital Color Meter.app.  When I uncheck that option, the triangles appear, as #3C3C3C  on an #1C1C1C background, a +9% difference.


How do I measure Heart Rate Variability?

Looking at the history of HRV measurements in my Health app, they seem to correspond to times I've used the Breathe app on my phone.

It seems that doing a Breathe session will do an on-demand measurement of HRV, and this agrees with a post in the forums on MacRumors.


Prevent Mac terminal brightening font color with no background

Short answer: don't use "compound" color codes like \033[49;36m, use separated colour instructions like \033[0;42m\033[0;36m instead.
The difference can be nicely seen by comparing the output of those two commands:

echo -e "\033[0;42;36m\xe2\x96\x88\033[0;49;36m\xe2\x96\x88"
echo -e "\033[0;42m\033[0;36m\xe2\x96\x88\033[0;49;36m\xe2\x96\x88"

(note that my version of bash could not process \u2588, so I had to resort to the hex variant \xe2\x96\x88).

Suggestion for future code:

Create a file (for example in ~/.bash_color_definitions) with the following content:

# Setup some colors to use later in interactive shell or scripts

# Color reset:
export COLOR_RESET='\033[0m' # reset color

# foreground colors

export FG_WHITE='\033[1;37m'
export FG_BLACK='\033[0;30m'
export FG_BLUE='\033[0;34m'
export FG_LIGHT_BLUE='\033[1;34m'
export FG_GREEN='\033[0;32m'
export FG_LIGHT_GREEN='\033[1;32m'
export FG_CYAN='\033[0;36m'
export FG_LIGHT_CYAN='\033[1;36m'
export FG_RED='\033[0;31m'
export FG_LIGHT_RED='\033[1;31m'
export FG_PURPLE='\033[0;35m'
export FG_LIGHT_PURPLE='\033[1;35m'
export FG_BROWN='\033[0;33m'
export FG_YELLOW='\033[1;33m'
export FG_GRAY='\033[1;30m'
export FG_LIGHT_GRAY='\033[0;37m'

# background colors

export BG_WHITE='\033[1;47m'
export BG_BLACK='\033[0;40m'
export BG_BLUE='\033[0;44m'
export BG_LIGHT_BLUE='\033[1;44m'
export BG_GREEN='\033[0;42m'
export BG_LIGHT_GREEN='\033[1;42m'
export BG_CYAN='\033[0;46m'
export BG_LIGHT_CYAN='\033[1;46m'
export BG_RED='\033[0;41m'
export BG_LIGHT_RED='\033[1;41m'
export BG_PURPLE='\033[0;45m'
export BG_LIGHT_PURPLE='\033[1;45m'
export BG_BROWN='\033[0;43m'
export BG_YELLOW='\033[1;43m'
export BG_GRAY='\033[1;40m'
export BG_LIGHT_GRAY='\033[0;47m'

And source it on every bash start by putting source ~/.bash_color_definitions into your .bashrc or .bash_profile. Then start producing more readable code like this:

 echo -e "$BG_BLACK$FG_CYAN\xe2\x96\x88$BG_GRAY$FG_CYAN\xe2\x96\x88$COLOR_RESET"

EDIT:

Turns out, the code in my answer actually reset the background (as Erik noted in the comments).
After a bit of testing, it appears that the Mac Terminal "mixes" the foreground/background colours a bit different when you try to use color code 49, i.e. the "default background color".

iTerm.app for example does not behave in this way, so you could easily switch terminals, if you want to.

A valid solution, however, is to fully specify the background color (i.e. don't just use 49;36m, use 47;36m if your background is white). Or better use the xterm-256color color specifications; that is \033[38;5;___m for the foreground and \033[48;5;___m for the background colours (replacing the underscore with a number in 0-255). At least on my computer, this then produces consistent colours:

echo -e "\033[48;5;256m\033[38;5;6m\xe2\x96\x88\033[40;36m\033[38;5;6m\xe2\x96\x88\033[0m"

If you want to check which ANSI xterm-256color best matches your actual background color, you could use this script (modified version from the one found here):

#!/bin/bash

for fgbg in 38 48 ; do #Foreground/Background
    for color in {0..256} ; do #Colors
        #Display the color
        echo -e "\033[${fgbg};5;${color}m ${color}\t\033[0m"
    done
    echo #New line
done

exit 0


no wifi hardware installed on Mojave update

I edited the /etc/sysctl.conf file. There are three settings adjusting socket buffers to improve broadband performance. I doubled the numbers there and it fixed the networking issues.
   There was a constant stream of error messages saying sockets were unable to allocate buffer memory. Apparently, there is a process crashing somewhere and not releasing it’s socket buffers. I don’t know which one is doing it because it is hard to track down due to the sluggishness.


Read GnuPG encrypted emails transperently on iOS

Do you need to use Copy & Paste with PGP/GPG mail?

No, that is not required.  For iPGMail:

Click the encrypted attachment to open it - you see the encrypted
text.
Click on the transfer button (at top right).
Open in iPGMail.
Enter your pgp password and see the unencrypted message.

Do any of the tools integrate like GPGTools on OS X?

This is impossible given Apple's sandboxing requirements.  As an aside this may well be a good thing as it avoids the annual scramble by GPG developers when Apple updates OS X and its Mail app.


Mavericks Internet Sharing Ethernet to Wifi suddenly stopped working

Try changing the password for the Internet Sharing WPA2 Personal.  I had the same problem where the Internet Sharing icon (WiFi with arrow) would flash for a moment in the menu bar, and then go back to the usual WiFi icon (signal bars.)  Resetting the settings for the Internet Sharing network fixed it.  (I was messing around with some settings files somewhere inside OS X's directory structure...so serves me right.)


How can I access the LaTeX commands from the terminal?

To get the LaTeX tools to run from the command line, you need to add the path to your pdflatex to your executable search path. To do this, you'll need to edit the .bash_profile file in your home directory. Open the file in a plain text editor (e.g. vi, emacs, bbedit) and add this line at the bottom:

PATH=/usr/local/texlive/2014/.../bin:$PATH

where /usr/local/texlive/2014/.../bin is the path you typed in your example to get pdflatex to run.

An aside

whereis only returns results from system-installed executables. which looks in the entire path. e.g. on my machine:

~ 503   whereis ruby
/usr/bin/ruby
~ 504   which ruby
/Users/steve/.rvm/rubies/ruby-2.1.2/bin/ruby


Can iCloud's Documents and Data be configured to sync on a per-app basis?

You can disable iCloud on iWork by going to the Settings app, and scroll down to the install apps settings, you will find each iWork app has it's own section, Pages, Numbers and Keynote.

In each iWork app's settings there is an option "Use iCloud". Turn this to off, and keep the Documents and Data in the iCloud menu on.

For Mac, the iWork apps do not support iCloud Document Sync. (If you enable sync on iOS, the files created on iOS will download into your library, you can't open them however, and you are unable to upload to iCloud in iWork)

In Mountain Lion they will, but it appears that iCloud Doc sync integration will be at the OS Level, rather than iWork app level. Instead being more like DropBox* where you have an area (I say area, because it's not a folder, but it's quite similar to one) for iCloud.

*Although this area only seems to appear in Open/Save Dialogs, and will only show files that are registered to the App.


Where can I find a list of bugs in the current release of OS X?

Certainly Apple does not provide such info and I have never seen any place which systematically compiles user complaints into that kind of list.  So as far as I know, the answer is "no".


What is the best way to backup epub and pdf books in iBooks?

Your books and book metadata are stored in…

~/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books

Backup this entire directory to backup all your books.


How do I share my iCloud storage with my family in iOS 11?

You have to back out of the iCloud Backup settings screen and navigate to the Family Sharing screen. From there you can tap on iCloud Storage under Subscriptions and Apps. And from there you can invite your family members to share your storage.


Preview accessing closed files (El Cap 10.11.3)

Are you sure that Preview is indeed not running as opposed to not visible? (CMD+W vs. CMD+Q)

As for an image explaining what I mean, refer to this: http://geek-and-poke.com/geekandpoke/2013/8/24/the-one-and-only-difference-between-os-x-and-windows

Update:

example output for non-running Preview:

ps -ef|grep Prev
502 46649 46541   0  8:58PM ttys000    0:00.00 grep Prev

example for running Preview:

ps -ef|grep Prev
502 46655     1   0  8:58PM ??         0:01.16 /Applications/Preview.app/Contents/MacOS/Preview -psn_0_11016833
502 46656     1   0  8:58PM ??         0:00.01 /Applications/Preview.app/Contents/XPCServices/com.apple.Preview.TrustedBookmarksService.xpc/Contents/MacOS/com.apple.Preview.TrustedBookmarksService
502 46661 46541   0  8:58PM ttys000    0:00.00 grep Prev


How do I disable the "fn + F8" shortcut?

Try installing KeyRemap4MacBook. It's a free and powerfull utility for keyboard customization for MacOS X.


How does one configure a temporary exception to ATS on El Capitan and fix webkit2png?

Code edit posted here allows for use of non-https domains under El Capitan. Edit code as specified. webkit2png --ignore-ssl-check [options] [http://example/] for desired result. Good luck.


How can I stop losing my screens when I close the lid?

Sounds to me like the cause of it is this setting, which you'll want to disable:

System Preferences > Security & Privacy >
Require a password X minutes after sleep or screen saver begins


You need to set up separate Apple Ids for each user, possibly using Family Sharing to share purchases and other things.

A simple iCloud id, which is what you have, assumes you want everything syncronised between all your devices.


You can play any video as a Desktop wallpaper using VLC from the command line if you pass the option --video-wallpaper to the VLC executable. This will play the video behind your Desktop files. The VLC executable is located at /Applications/VLC.app/Contents/MacOS/VLC. I have that aliased to vlc, using:

alias vlc='/Applications/VLC.app/Contents/MacOS/VLC'

You can now play any video using:

vlc --video-wallpaper movie.mp4

This will cause the VLC application to be in your Dock. If you would like it to be hidden, follow the instructions in this answer, or copy the example below:

/usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/VLC.app/Contents/Info.plist

uses the native utility PlistBuddy to edit the Info.plist file in /Applications/VLC.app/ so that VLC no longer appears in the Dock. If you would like to undo this so VLC will show up in the Dock again, use:

/usr/libexec/PlistBuddy -c 'Delete :LSUIElement' /Applications/VLC.app/Contents/Info.plist


These popups are completely and totally FAKE. All they're meant to do is prey upon your fears as a user. (tl;dr at the bottom)

Most app advertisements are networked, meaning the developer adds a little bit of code to their app, sets what kind of ads they want, and the network lets people buy ad slots. Sketchy ads (like these) pay a lot more, since they're banned from many networks and only some apps allow them (that's usually configurable).

These app advertisements are usually implemented as a custom WebView that only closes once the X appears after a few seconds. As you can see here, these ads also appear in safari, where you have to close the page, and cancel can do whatever the designers want it to do:

A lot of this style of ad also reference the "adult sites you've visited" hoping you won't turn to technical support or the Internet for help.

In reference to you saying that this was made by AnchorFree, that's highly likely. It's an easy (and sadly, effective) way of pushing their product to get more subscribers. Clicking download would've most likely taken you to the HotspotShield install page as well. Your HiDef radio app is probably fine.

tl;dr: your phone is fine, the ad is fake, and AnchorFree probably paid for it. The HiDef radio app is also fine.

PS: I'd be careful about the VPN apps you use, since some will sell your data that they gather through the tunnel they make to advertisers and other people. Read the privacy policy!


Infinite scrollback in Terminal (Yosemite)

Here's an option for running a script on startup to append everything to a log file. Searching a text file will likely be a better option than manually scrolling up in Terminal, or filling up a buffer.

http://hints.macworld.com/article.php?story=20120507163311559


External hdd: Difference "Get Info" Available space and "About This Mac - Storage

You could try sudo mdutil -E / on the terminal, to reindex Spotlight.


I've just updated my Mac to Yosemite and now I can't open a .numbers file

Having the same problem and don't have a permanent solution. However, if you email the file to yourself and open it from the email, it will open.


Is it possible to read F2FS-formatted SSDs in macOS?

Natively?  Definitely not.  F2FS was developed by Samsung for use on Linux.  I don't know of any mainstream Linux distros that support this out of the box either.  From the cursory research I've done, it can be added to the kernel to support it at compile time.
To get this support on macOS, you'll need to add support using Fuse much like you add support for any of the 3rd party file systems.  Currently, it's not listed as supported by Fuse.
What you might want to try is to load up a VM running Linux with F2FS support enabled then create a USB Device Filter to immediately mount it on the VM and not mount it on the macOS host.  VirtualBox supports this.


You can follow this article on iMore to find out about how to add more people.

Although, my personal opinion is that this feature should've been more proactive and keep identifying in the background.


macbook pro - disable csrutil without recovery mode

You can't, and that's by design. If an attacker could disable system protection while the OS was booted it'd be pointless. If you find something, please file a radar because this is an important security component. Single user mode is the same as normal OSX just stopped a bit before a bunch of niceties load, so no dice there. You'll have to get into recovery mode somehow and if you can't even boot to single user recovery you might have a bigger issue than just GPUs.

You could, potentially, boot using an eGPU if I understand the issue. Issue is an eGPU is hard to find and more expensive to buy than just fixing your laptop.


Step one - https://support.apple.com/en-us/HT205597 - following all the links - especially on a PC might take two hours or more depending on how good you are with troubleshooting security on PC OS.
Step two - get more logs/detail - take notes of the articles above in case you didn't do what they asked and instead did what you thought was correct
Step three - ask a follow on question or contact Apple support with the "more logs"


MacBook Pro 2012 Model A1278 Flashing questionmark file

Sounds like the drive is dying.
Get it out of the machine & stop trying to boot from it.

Your best chance of recovery, assuming you don't have any backup, is to attach it to another machine in a USB enclosure & use a recovery utility to rescue it to a separate drive.

The more you mess with it, the smaller your chances get.


Sorry, but if Find My iPhone wasn't enabled on his iPhone at the time it was stolen, there's not much you can do to track it, as you can't remotely enable Find My iPhone.

Even if you could push an app to the phone, it's not possible to enter the iCloud account. Your option is to pursue legal means to compel the phone company to either track the device or terminate the service.


iOS8 - Open podcasts app via website link?

Based on this answer, feed://podcasturl... or pcast://podcasturl... both work, though slightly differently.

With my tests today, using Chrome for IOS, feed:// opens up the podcast app with the "Add a Podcast by URL..." popup with your podcast feed already populated. All you have to do is press Subscribe
If I use Safari, it tries to use a feed reader app, like Reeder.

pcast:// seems to open your podcast so the user can browse the published episodes.

Note: the pcast:// option didn't work for me, possible because this is a private podcast used for testing, and not published to Apple iTunes.


How to access the Wi-Fi password through Terminal?

security find-generic-password -D "AirPort network password" -a $SSID -g | grep "password:"

Replace $SSID with the SSID of the network that you wish to obtain the key of.
This command looks for all keys with a type of "AirPort network password" and searches for the key with the name of the SSID that you provide.


Is your ringer switch stuck on mute? If not this could be a simple software issue, you would have to save all your data through iTunes, save all of your pictures separately, and restore the iPhone to factory settings. Once restored you must choose to set the iPhone up as new, otherwise restoring from a corrupted backup will bring the issue back. You can make sure to save contacts & calendar events on 4.2.1 by going into the info tab while the iPhone is plugged into iTunes, and selecting sync contacts, & sync calendars, notes, bookmarks, ect.

If you did drop it too many times & break the ringer switch, it's about time for a new phone


Archive not shown in Mail.app on Yosemite

I don't know exactly what happened, but the box comes and goes.
I set the Archive box in the favorite toolbar so that I can bring it up when it's not showing itself.


I hate to disappoint you but I am afraid gaming on a mac is still very limited.
Head to steampowered.com and see for your self.

Although I believe that in the near future the major gaming publishers will see the opportunity with growing numbers of mac users and reconsider adding OS X as a platform for gaming.

Using a virtual machine is not recommended for gaming.
You can dual boot though and run Windows natively and games work fine this way. See Boot Camp


Which Macbook Pro Hi-Res screen is better for editing photos?

This is 80% what calavera already said, and I'm only posting it for a few additional details that wouldn't fit into a comment. Translation: Accept calavera's answer instead, if you're thinking about accepting mine.

Glossy is generally considered better for accurate color gamut (I believe that's the proper term). Closer to "real life", full representation, etc. If you're professionally serious, I would still recommend picking up a color calibration kit, but you'll likely have less tweaking to do for accurate representation.

Anti-glare is exactly what it says, and exactly as calavera put it, it doesn't reflect the sun, room lights, generally light sources nearly as strongly, so you can use it nearly anywhere without having to re-orient/re-angle yourself. But, as a side effect of this, colors are dulled, a bit washed out.

Photo editing, video editing, anything that is geared for visual presentation pretty much demands a glossy screen, as opposed to something with just a visual interface (surfing, audio editing). Of course, with Apple making the anti-glare the "special order", it's there for people who need it, but otherwise people get the better choice in the majority of situations, by default.


Why does this app keep getting its Accessibility API privileges revoked when my computer goes to sleep?

Contact Boastr

Boastr, the developers of this commercial product, will be best placed to answer your question. They have a bug tracking page where you can report these kinds of problems.

If they can help, please submit their answer here to help others.


Automator to save all images in multiple mail messages

I just tried this and it seemed to work, though you'll have to play with it.


How to find all emails Mail thinks are Junk?

In the Preferences of Mail.

You can choose how Junk mail needs to be handled. If you activate 'Move it to the Junk mailbox' it will be moved to the Junk box automatically.

It is the Junk list with all the emails that are seen as junk email by Mail.


After upgrading to El Capitan, OS X imported my email accounts from my iPad

More than likely, your Mac synced with your iPad and got data from iCloud. Go to Settings -> iCloud, and see if Mail is turned on. If so, and you do not want these to sync together, turn it off. Then, you can simply delete the accounts from the Mail app on your Mac.

In regard to your question about other "surprises," while you're in Settings on your iPad, take a look around any other areas, such as Notes, Calendar, etc. that you may not want to sync to your Mac.


Upgrading OS X from 10.5.8 to at least 10.6.8 to update my iTunes

According to Apple Support page your mac is capable of running Mac OS X 10.6 Snow Leopard.

General requirements

Mac computer with an Intel processor
1GB of memory
5GB of available disk space
DVD drive for installation
Some features require a compatible Internet service provider; fees may apply.

Also considering Apple policy in supplying security updates, I would recommend you to update (all the care in taking backup of your documents apply).
At this page there is a list of security updates, and the last one for 10.5 was in 2012.


For sporadic email formatting errors:

To look at the original message (email) before format changes

select the email

then click on the View and Message

then select RAW format.

it will show you all details of that file.


Mac shuts down after loading bar loads 50%

This is something that you should absolutely contact Apple about since it is a brand new Mac - it is under warranty and will be replaced, if it's in the first 14 days you can even return it to the Apple store & get a brand new one (or your money back) with absolutely no questions asked.

If you do want to troubleshoot this, try to boot in verbose mode by holding command+v during startup - take a picture & post it as a comment here.


This was supposed to be a comment, but it turned out too long.
It might be that the trackpad is slightly damaged so that the button is somehow pressed down constantly.
I have a black macbook that clicks every time I rest my hands anywhere near the area below the keyboard or around the trackpad. The plastic around that part of the case has kind of caved in and it affects the trackpad. If something similar has happened to your macbook, only that it is constantly pressing the button, you wouldn't be able to press any buttons with any mouse.
On my own macbook, all of this (the case caving in) started after almost the entire bottom edge of the top case was breaking off, like in the picture below, which is a common problem on many of the macbooks (picture through google).

Disabling the internal trackpad while only using the keyboard

Open Spotlight. The keyboard shortcut for this is usually
cmd+space.
Once in System Preferences you should be able to select "Accessibility" simply by starting to type it (or whatever it is called in the language on your macbook). Or you might have to press cmd+f first.
Navigate the Accessibility preference pane by shifting focus around to different tabs, buttons etc with combinations of tab and arrow keys.

When a checkbox is in focus, press space to check it.

The checkbox you are looking for is called something similar to Disable trackpad when external mouse is connected in the mouse and trackpad tab.


How does the Tech Support know my exact location given my location services is turned off?

There could be multiple sources that Apple has received your location from.
Even if you do not think about it, your IP addresses is actually transmitted to the web server (Apple's server) every time you load up a web site. In many cases an IP address can pinpoint your location to a specific city or similar. This would be enough for them to able to suggest a store in a specific zip code.
In addition WiFi-enabled devices without GPS are still able to find their location from other sources - for example the names (SSIDs) of WiFi access point the device "sees". When it is moved around, it is possible to assemble a list of known access points which can then be translated into a position by an online server. For example the cars that Google uses to gather data for Google Maps also collects WiFI SSID information for this purpose.
If you're especially worried that Apple support knows your location, I would just ask them where they have your address from. If you're located within the European Union, you have rights based on the GDPR that would ensure that they're obligated to tell you that they have this information on file.


Keeping the menu dropdown open after clicking?

control F2 key gets menu bar focus in full screen app mode
set F Keys to standard function keys via keyboard prefs
keyboard shortcuts "Focus to Menu Bar"
default is Control F2 for menu bar focus
control F2 for dock focus


If the Dock fails to relaunch after killing it, is there any way to force it to relaunch?

I have finally found the answer to this question. If the Dock fails to relaunch, execute the following shell commands:
launchctl stop com.apple.Dock.agent
launchctl start com.apple.Dock.agent

The second command may not be necessary but should probably be included anyway just to be safe. This is probably a much safer way to restart the Dock than simply killing it.


Miroslav

This problem is probably due to kext signing introduced with OS X 10.10 Yosemite. With it you can't run any unsigned drivers and Splix is being a port of Samsung GDI open sourced driver is just a driver and last version being from 2008 it is definitely unsigned.

Basically you have no choice but disable kext signing if you want to use the printer. Make sure you absolutely have to do it and you don't have other options since this change is system wide and system is becoming less secure after that.

In Terminal:

sudo nvram boot-args="kext-dev-mode=1"

And reboot. Then try to go with Splix.


Do Apple laptops use FileVault encryption by default?

Apple has not, to my knowledge and research, ever released a machine with encryption turned on by default.

Even with APFS that natively supports encryption* (meaning it's baked into the cake and not just another layer on top), encryption has three options:

no encryption
single key encryption
multi key encryption

This is something the user must select.  Why Apple chose to go this way is something that only Apple knows, but it's evident that they wanted to give the option to the end user (or at least to the people deploying the Macs to the end users).

* 9to5Mac.com:  Apple File System (APFS) announced for 2017, scales ‘from Apple Watch to Mac Pro’ and focuses on encryption


How to Partition hard Drive + install previous OS (10.7.2) on one, while leaving 10.8.4 on other

I assume you are trying to install using the OSX Installer app. This will not work; you MAY be successful making a bootable USB (you will find instructions by googling).

Even this may be confused by the later recovery partition, and would probably overwrite it.

Your best option may be to install on a new external HD.


Since the Classic mode might not show full screen (depending on original size)

I would use the:

Ken Burns Option in the settings.

Go to System Preferences → Desktop & Screen Saver and choose Ken Burns mode.

There is some animation going in that mode but it is rather pleasing.


The community NTFS-3G driver in conjunction with Disk Utility doesn't allow you to repair the file system of an NTFS-formatted volume nor its permissions.

The file system repair feature is only available in the commercial Tuxera NTFS for Mac edition (based on the NTFS-3G driver) - either by using Disk Utility or Tuxera Disk Manager.

In the default configuration the files and folders of the mounted NTFS volume are owned by the effective user and group of the mounting process - the common settings are 777. This means all OS X users have full access to the volume or: Permissions are ignored!

At least in Linux using the community driver this can be overridden by modifying the mount options and user mappings (also: Advanced ownership and permissions). I don't know if this also works in OS X. The commercial Tuxera NTFS for Mac doesn't mention anything like this in its manual.


How can I use Siri to select between multiple email addresses?

Ok this is what i saw when i asked SIRI to send a mail to a contact with multiple address, i then chose 'Home' and siri asked me what should she send!. It was pretty straight forward IMHO, so i suggest you try to disable/enable SIRI, if that doesn't work, then i think you will have to restore iOS option. Hope this helps mate


If possible, create a new user and check if the problem persists (you can transfer your files via the "for all users" folder in /Your Drive/Users


The reason for me here was my VPN setup, I had to reinstall my Nord VPN, and reconnect in order to be able to access my Mac on local network.
Also, I would suggest using some PacketFilter firewall manager on the Mac machine. I use Murus and it seems to be pretty good for my requirements.
Thanks everyone who helped me to figure this out quickly.


What's the difference between rm and empty trash?

Yes, rm removes the file as does moving it to trash and then emptying the trash. One nice thing about moving files to Trash is that it gives you a little longer to decide if you really want to delete them. rm will remove immediately.


Apple Detecting Jailbreak on a NOT jailbroken iPhone

That notification could have come from any app.  Check under your settings which apps you have got that you allow notifications from.  I am not aware of any official method for Apple to send these out, and unless there was some sort of corrective action or advice attached I can't see the point in you receiving it either.  This is almost impossible to provide a real answer to, but my first thoughts are either a prank or compromised notification through one of your existing apps.

If you receive it again, take a screen shot - hold down your home button, then tap the power button - the screen will flash white and the picture will appear in your camera roll.


Setting up new Apple ID, I keep getting message that password is not complex enough

According to Apple's support site

Strong passwords
Apple policy requires you use strong passwords with your Apple ID. Your password must have a minimum of 8 characters, not contain more than 3 consecutive identical characters, and include a number, an uppercase letter, and a lowercase letter.


Wifi hardware undetected after installing MacOS Sierra

Apple decided to try and piss off as many educational customers as possible by not including basic broadcom drivers from their AirPort wifi cards.  Even the later 4321 cards do not have a driver in MacOS Sierra and some of them shipped with Mac PRO 2010's.  So Apple even lied to their own owners about what models would be supported.  I have two Mac Pro's one is a 2009 and the other is a late 2010.  The late 2010's wifi does work.  The original card from the 2009 does not work and the upgraded BCM94321MC also does not have a driver in Sierra.  My 2nd Mac Pro has the following Wifi that does work.  Apple Airport Extreme BCM94322MC.  Comedic isn't it the BCM94322MC works and the BCM94321MC doesn't.  I ordered a second 22 to fix this issue.


Is there a shortcut for opening a second buffer with a vertical split in Aquamacs?

You are looking for split-window-horizontally which is bound to C-x 3.


commandline equivalent of PDF export with preview

This can be completed with the following Automator service workflow:

The Size Each Page to Fit option preserves the orientation of the original image(s) in my testing, so no rotation is required.


AppleScript/Automator Workflow to restore OS X to "mint" condition

I don't know what I keep on forgetting about Automator. Excellent idea.

You can try removing a setup file to flag configuration:

in

/var/db

--w----r--   1 root        wheel             0  1 Nov 12:51 .AppleSetupDone

Remove that file and I believe that the setup will happen next boot.

By the way, I think you might want to look into the system image tool

man asr

Here we have a slightly different way of looking at imaging, possible since Lion.

YMMV, of course.

EDIT:
Also, you could just create a new user.
That user will have default preferences.

defaults domains

will give you the pristine preferences, space delimited.

Any of your old user's prefs that are not in the set of the new user prefs should be the ones you want to get rid of.

Also, you can run

defaults read

on the new user and save that to a file. That will be the default preferences for an account.

Don't forget about the ByHost settings... I think you want to delete those to reset.


Is there a way to upload video from an iPhone to Google+?

It's exactly the same way you would upload a photo.

Within the Google+ app on your iPhone.

Tap the camera icon within the app.
Select your video from the Camera Roll.
Click the blue arrow in the top-right corner.
Select some particular Recipients and maybe add some text.
Click Share.


You have to delete the .DS_Store files in each folder.

How to do that? Via Onyx. You can also unhide all invisible files (.DS_Store files are invisible) and delete them one by one.

After that, you can "set default" in the root folder and it should be in all the folders below

  / -> /Applications
        / -> /Documents etc.


Tips or Tricks: Identifying if there are Opened Documents

Just by looking the taskbar I think you can't. But you can set an easy shortcut and if you click on the application you want to view and the press the shortcut you can see all the windows opened (active and minimised) for that application.

In System Preference > Mission Control, you can set a shortcut for Application windows. Just try it once and with time it will become smooth for you.


Can I backup an arbitrary file on iCloud?

Yes you can — iCloud can be used to sync anything that you wish.

Open ~/Library/Mobile Documents and create a folder (call it anything you wish).
Inside, put whatever documents you would like to sync over iCloud.
That folder will sync with other Macs (and jailbroken iOS devices, and on the web too if you have a Apple Developer licence).

Alternatively, you can symlink a folder on your Mac in to the Mobile Documents folder so that the files remain in their original location.


In AppleScript, what is the "ctxt" variable class?

ctxt maps to an NSString; an Objective-C Foundation.framework encoding of a string.

  NSString : Internally, Cocoa scripting always uses Unicode text when converting to get information from or add it to an Apple event.

You can find a reference to this type in Apple's Cocoa Scripting Guide.


Is using the Magic Mouse 2 & original Magic Mouse on the same Mac unsupported in High Sierra?

I cannot find any Apple documentation stating that the original Magic Mouse is unsupported in newer OS versions.

Your problem is more likely to be just one of Bluetooth connectivity. Apple provides a troubleshooting document that describes the Magic Mouse and Magic Mouse 2 together. Other remedies for problems can be found here.

The Magic Mouse is not one of Apple's strongest designs, and you may prefer a third-party mouse, or the Magic Trackpad, which I find much better. (You can leave it plugged in while using it, for starters!)


Spotlight does not show contents from internet!

For 10.13 only sixteen countries have this feature -
http://www.apple.com/osx/feature-availability/#spotlight-suggestions

I mean your country might not be in the list yet, I'm facing the same issue

For macOS High Sierra, here is the feature list page documenting what works where.

https://www.apple.com/macos/feature-availability/


AppleScript : next/Previous tab in safari

This is what you want:

tell application "Safari"
    tell window 1
        set currentTab to (get index of current tab)
        set current tab to tab (currentTab  - 1)
    end tell
end tell

You need to be specific, otherwise you end up with type-conversion issues.


Boot Camp failed and reduced Macintosh HD partition from 3TB to 1,46TB

The first thing I would try is to open Boot Camp Assistant and see if you can remove the partition. Whether Windows was installed or not, this should be possible.

Alternatively, since I'm guessing you haven't repartitioned your drive since you installed El Capitan, you won't be able to resize the partition unless you use a source outside of your computer. Even in recovery mode, you won't be able to repartition. You might be able to resize it in Disk Utility if you use Internet Recovery: CMD + Option + R at boot. Another option would be to boot into recovery mode, install OS X on a USB drive, then from the installation on that USB drive, you would for sure be able to resize your partition.

I have done this many times, so I understand the frustration it can cause when you have space that you can't recover and the only way to get it back involves several hours of your time.

The good news is that if you ever start with a fresh partition in El Capitan, their new partition scheme is resizable even when you're using it live so you wouldn't need to ever even touch Recovery Mode.


turn off an email account we can no longer access on the iPad

Deleting your old email address off the ipad will not delete the account itself it merely removes the username / password from the iPad so it will not attempt to log in. But since you have changed ISPs anyway this is a moot point. Caution however make sure you have a backup of your archived mail in your possession on another PC or backup device before you do the following.

On your iPad go Settings>Accounts & Passwords

Select the mail account you want to remove

Scroll right down to where it says "Delete Account" in Red and click that - and again to confirm

you are done, your iPad will not try and access the account.


Control AppleTV 4K volume on monitor with speakers

There's no easier way from the AppleTV or similar. In modern HDMI based systems the volume control always happens at the destination (for example the TV). When you send the audio digitally, the source (Apple TV) is not amplifying an analog signal and thus has no impact on the actual volume except for any external control signals it can.

Your computer monitor is probably not designed for use as a TV, and does not support receiving volume control signals anyway other than the on-screen menu. According to its manual, there doesn't seem to be any remote controls available or similar.


Can I use external graphic card with MacBook Pro?

There is a way to do so, you might want to check this article: http://www.extremetech.com/extreme/162652-diy-external-thunderbolt-gpu-turbo-charges-macbook-air-graphics-performance-by-7x

As for a regular user I can say that there is no way yet to use external gpu.


Cable / io spec for using 2x external displays on an iMac

According to the specifications on Apple.com iMacs have...

  Two Thunderbolt 3 (USB-C) ports with support for:

DisplayPort
Thunderbolt (up to 40 Gbps)
USB 3.1 Gen 2 (up to 10 Gbps)
Thunderbolt 2, HDMI, DVI, and VGA supported using adapters (sold separately)

So the adapters you need (sold by Apple or lots of other places) will have USB-C on one end and whatever connector your monitors have available on the other.

Apple sells some nice LG displays that have USB-C video connectors but you may not need something like that in price, performance or color fidelity depending on your specific needs. A less expensive monitor might suit you fine. I would look for ones with Displayport (mini or otherwise) and/or HDMI as you will have smaller connectors and an all digital path for the video signal.

Monitors often come with cables already, select your adapters to connect to the cables your monitor comes with or recommends.


Is there a way to make the Menu bar show at all times in fullscreen windows?

I've been annoyed by this, too, and the simple, yet very, very painful answer is to hold alt ⌥option and press the green title bar button (which should turn into a + when you hold option/alt)

If this doesn't make it cover the screen, you can finish the job by holding alt ⌥option and double-clicking a corner to resize the window to fill the screen.

If you make your dock hide by default, this essentially gives you a "fullscreen" program with the menu bar always shown.


In FireFox, how can I make new windows start blank with the focus in the URL bar?

Update Note: The original answer was applicable to Firefox version 50, and somewhere along the way Mozilla added what's shown directly below. (From Firefox version 66.0.5).

Firefox (menu) > Preferences… ⌘` then click Home and set Homepage and new windows and New tabs to: Blank Page

Original Answer

To have Firefox open a new window to a blank page, you'll need to set the Home Page to about:blank under General preferences (about:preferences#general in the Address bar).

Then when pressing ⌘N, this is what a new window will look like when it opens:


How do I disable smart quotes, apostrophes in Mac Outlook 2011?

You can turn Smart Quotes off by unchecking "Smart Quotes" under Edit > Substitutions > Smart Quotes


Stopping com.mysql.mysqld from launching over and over and over agin

The script gets reloaded at boot because of RunAtLoad flag set to true in its plist.
Try unloading the script with following command, so it doesn't get picked up again.
sudo launchctl unload -w </path/to/com.mysql.mysql.plist>

I don't have MySQL installed, so I can't tell exact location of the plist. Generally, it should be in /Library/LaunchDaemons/com.mysql.mysql.plist.
If not, look into following locations also and replace path in command:

~/Library/LaunchAgents
/Library/LaunchAgents
/System/Library/LaunchAgents
/System/Library/LaunchDaemons


Date original picture was taken using EXIF Wizard

You should find good EXIF information, including the date the picture was taken, for pictures you took with the iPhone.

However, the problem you're facing is that the image you're examining is an SMS picture.

SMS picture messages, typically called MMS, don't include EXIF metadata.  When the image is saved to your camera roll the iPhone adds EXIF data, which includes the date the image was saved to the photo roll.

If you look at past saved SMS pictures, you'll find the EXIF info shows the date you received it, not today, nor when the picture was actually captured.

The MMS format does not specify a metadata area, so it's not a limitation of the iPhone - you'll also see this on any phone that can send and receive MMS images.

Ways around this limitation include:

Email images (retains EXIF as it's sent as a JPG)
Save image online (photobucket, imgur, etc) and text message a link
Use iMessage (Not confirmed, but should keep EXIF)

The reason this is the case, and why it's not going to be resolved soon, is that each phone model had a different way of encoding and sending MMS - this flexibility allowed it to go into many different handsets more cheaply than if they stuck to one specification.  Once it reaches the phone carrier, it's converted back to an image. All the information is a simple image, and two phone numbers. The carrier then stores the image, converted to a common format, and sends a note to the destination carrier about the MMS message and where it can be found. The destination carrier retrieves it, reformats it for the target phone (again, probably a different format for a different phone) and then notifies the phone that it has an MMS available. When the user requests to view it, it is retrieved from the carrier's servers and displayed on the phone.

The EXIF meta data is lost very early in the process.

You can find out more about this system by searching for 3GPP Specification.


Stop blue dots from appearing next to updated apps?

There currently is no way for you to disable this as of <=iOS8 and within the boundaries of factory OS. This is a visual aide for those people that have automatic updates enabled. You can look into jailbreaking your device if it is worth that much to you


You need Bartender, which allows you to control what displays where in the menu bar.

  Organize your menu bar apps

  Lets you tidy your menu bar apps how you want.
  See your menu bar apps when you want.
  Hide the apps you need to run, but do not need to see.
  Have the clean looking menu bar you want.
  Rearrange your menu bar items as you wish.


Where to find docs for the supported actions for `tell application` statement

I do not know of a list, per se, however AppleScript supported applications have a dictionary that you can view to see what's available to a given application, besides what available in the StandardAdditions.sdef file of Script Editor itself.

While in Script Editor press ⇧⌘L to bring up the Library, where you can double-click on Finder to review what's in its AppleScript dictionary.

The Library is also accessible from the Window menu while in Script Editor.

Finder's AppleScript dictionary:

For example, looking at the Standard Suite, not selected in the image above, you'll see many verbs that are supported, one of them being close, so:

tell application "Finder" to close every window

Will indeed close any Finder windows that are open.


MacBook Air (mid 2013, 13", i5) - Geekbench scores on MacOS and Ubuntu

Why would that be?

Any number of reasons; however I would point towards testing methodology.  Looking at the Geekbench Score for a MacBook Air 11" Mid 2013, it got double your posted score and fairly in line with Ubuntu.

It's important to note that the score on the following chart are the "average" scores - meaning many higher and lower.

  To make sure the results accurately reflect the average performance of
  each Mac, the chart only includes Macs with at least five unique
  results in the Geekbench Browser.

Why the large variance?

macOS High Sierra, you didn't specify if you were using the latest updated version.
One test was done with a live CD
The Ubuntu score is referenced directly (unlike the others).  What "tuning" was done, if any is not noted.
macOS will limit the amount of CPU available to manage temperature.  Ubuntu does not.

Those are just some of the possible reasons for the large variance and is by no means an exhaustive list.


How to change the Siri icon on macOS Catalina?

Try this method
Open finder
Make a duplicate of Siri app
In duplicate find Siri.icns delete this
Prepare .icns file with your custom icon (you can find this in google already in .icns format or convert another format to .icns using converter
Drop it at the same folder where you remove Siri icon
Rename it as „Siri“ if it isn’t already named „Siri“
!! Important step! Delete your duplicate Siri app name and set another don’t use „Siri“ name
In order remove Siri from dock and drag and drop your new Siri to dock


This is called "Automatic Termination" and is also implemented for QuickTime Player and others.  The processes stay open in the background, so they re-open quickly, but with enough memory pressure (for other processes or applications for example) they will be forced to terminate.

To disable it, open Terminal (in /Applications/Utilities, or search via Spotlight) and type:

defaults write com.apple.Grab NSDisableAutomaticTermination -bool yes

Then hit enter.
Make sure to properly quit and relaunch Grab after running this defaults write command.

To restore the original settings, run the following command:

defaults delete com.apple.Grab NSDisableAutomaticTermination

From the Apple Developers site:

  Automatic and Sudden Termination of Apps Improve the User Experience
  In OS X v10.7 and later, the use of the Quit command to terminate an
  app is diminished in favor of more user-centric techniques.
  Specifically, Cocoa supports two techniques that make the termination
  of an app transparent and fast:

  Automatic termination eliminates the need for users to quit an app.
  Instead, the system manages app termination transparently behind the
  scenes, terminating apps that are not in use to reclaim needed
  resources such as memory. Sudden termination allows the system to kill
  an app’s process immediately without waiting for it to perform any
  final actions. The system uses this technique to improve the speed of
  operations such as logging out of, restarting, or shutting down the
  computer. Automatic termination and sudden termination are independent
  techniques, although both are designed to improve the user experience
  of app termination. Although Apple recommends that apps support both,
  an app can support one technique and not the other. Apps that support
  both techniques can be terminated by the system without the app being
  involved at all. On the other hand, if an app supports sudden
  termination but not automatic termination, then it must be sent a Quit
  event, which it needs to process without displaying any user interface
  dialogs.

  Automatic termination transfers the job of managing processes from the
  user to the system, which is better equipped to handle the job. Users
  do not need to manage processes manually anyway. All they really need
  is to run apps and have those apps available when they need them.
  Automatic termination makes that possible while ensuring that system
  performance is not adversely affected.

  Apps must opt in to both automatic termination and sudden termination
  and implement appropriate support for them. In both cases, the app
  must ensure that any user data is saved well before termination can
  happen. And because the user does not quit an autoterminable app, such
  an app should also save the state of its user interface using the
  built-in Cocoa support. Saving and restoring the interface state
  provides the user with a sense of continuity between app launches.

  For information on how to support for automatic termination in your
  app, see Automatic Termination. For information on how to support
  sudden termination, see Sudden Termination.

Automatic and Sudden Termination of Apps Improve the User Experience


Pan/zoom camera over a bezier path on a raster map in Apple Motion

After a lot of experimentation, I have figured out the answer to this question. Make sure the raster map and bezier path are in the same group, open the group's inspector, click on the Group tab, and in the Group Controls section, check the "Flatten" checkbox.  Now, the bezier path will be flattened against the raster map, and there won't be any perspective issues when the camera flies around.


Update Macbook to newest supported OSX version?

The latest OS supported on a Late 2008 Aluminum MacBook is OS X 10.11.6 and can be downloaded from this link which will open in the App Store.

Note that while is starts off saying "This version of OS X El Capitan is for users running OS X Snow Leopard...", it also says...* "This version of El Capitan can also be used on Mac computers that are not compatible with Sierra.".

You can use the instructions in Create a bootable installer for macOS to create a USB Installer to do a clean install of OS X El Capitan.

  Use the 'createinstallmedia' command in Terminal

  Download the macOS installer from the Mac App Store. Quit the installer if it opens automatically after downloading. The installer
  will be in your Applications folder.
  Mount your USB flash drive or other volume. You could also use a secondary internal partition that has at least 12GB of available disk
  space for the installation files.
  Open the Terminal app, which is in the Utilities folder of your Applications folder.
  Use the createinstallmedia command in Terminal to create the bootable installer. For detailed usage instructions, make sure that
  the appropriate macOS installer is in your Applications folder, then
  enter one of the following paths in Terminal:

  Path for El Capitan:

/Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia

  Example

  This is the basic syntax of the command. Replace volumepath with the
  path to your USB flash drive or other volume, and replace
  installerpath with the path to the Install OS X app.

createinstallmedia --volume volumepath --applicationpath installerpath

  The following examples assume that the OS X installer is in your
  Applications folder and the name of your USB flash drive or other
  volume is MyVolume:

  Example for El Capitan:

sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app

After creating the USB Installer, you can boot the Mac with it and do a clean install.  Make sure you backup anything you do not want to loose before erasing the HDD and installing OS X El Capitian.


You can use a symbolic link to do this. I used it on an old mac which required the OS to be within a certain distance from the beginning of the drive, so I had to partition my hard drive to ensure that it would be there. To create a symbolic link, you need to use the command ln -s <source> <destination> in Terminal.

However, it would be better to use the advanced options in the Accounts preference pane to move your home folder's location. You will need to unlock the preferences if required (using the lock icon in the bottom left corner), then right click on your account name and change the location of your home directory. Since you are putting it on a separate partition, the path will start with /Volumes/PartitionName. Copy the folder over to the other partition before changing this setting! Then log out and back in and it should be using the new home folder, and you will be able to delete the old one. You can still create the symbolic link just in case some applications improperly assume that your home folder is in the /Users folder.


Terminal command to enable write to remote NFTS drive

If you use quotes in the command the spaces shouldn't create errors. Using

... label="Seagate Backup Plus Drive" none ntfs rw,auto,nobrowse

should interpret the name as Seagate Backup Plus Drive and

... label=Seagate Backup Plus Drive none ntfs rw,auto,nobrowse

will interpret the name as Seagate.

The better solution is to rename the volume to one word without spaces or use an escape sequence like in this answer.


Apache truncates files at 65536 bytes after Mavericks upgrade

It turned out that by having internet sharing on, something bad was happening with the inbound TCP buffer on the NIC interface as remote users could pull the asset off my box without a problem.

Turning it off fixed the problem...


How can I limit bandwidth for a specific port/app in OS X 10.10 Yosemite?

For port 8333:

Create the anchor for pf to use:

(cat /etc/pf.conf && echo "dummynet-anchor \"customRule\"" && echo "anchor \"customRule\"") | sudo pfctl -f -

Create the PIPE to send the desired port to your dummynet anchor:

echo "dummynet in quick proto tcp from any to any port 8333 pipe 1" | sudo pfctl -a customRule -f -

Then set the desired speed for the pipe you created: (E.X: limit to 10mb/s)

sudo dnctl pipe 1 config bw 10Mbit/s

http://mop.koeln/blog/2015/06/01/Limiting-bandwidth-on-Mac-OS-X-yosemite/

I have been using a app called Murus, It claims to do this and much more but I have yet to get it to work on the free version for port throttling.  Very powerful otherwise of a gui app.


The new FileVault is a whole drive encryption, so Time Machine doesn't do any sort of encryption. The kernel / OS handles encryption as the data gets written to the drive so it's an all-or-none type of thing.

Once encryption is on for a specific drive, all new writes are encrypted whether or not Time Machine or another process is writing. The "Encrypting..." status is transient where the system is going through every block on the device and encrypting it so short of disabling the entire drive's setting to be under FileVault control there is no way to opt out of encryption for some new writes while leaving the encryption enabled.


How to switch the subtitle language of Hulu on Apple TV

So i was having the same problem and stumbled on the solution.  While watching the video hit the pause button on the Apple TV controller.  then swipe down.  A menu bar should appear at the top of the paused video Info  Subtitles Audio  When you hover over subtitles you will see it defaulted to Spanish.  Just switch to English.  Wow, so simple but took me forever to accidentally swipe down after pausing and then the menu appeared.  Good luck.


If you want more security than what you have now, you could add a hardware based router/firewal between your roommates Internet connected network and  your "network"

What you would be doing is connecting your WAN port of your router to your roommates LAN.  This will create a "double NAT" network, where your roommate becomes your ISP.

The benefit this has over a highly configured firewall is that the router will immediately block all incoming traffic (by default) on the roommates LAN but allow you egress to the Internet.


Can the current model MacBook Pro (2017) 15" power 3 Displays from one port?

It's a matter of available bandwidth of the Thunderbolt port, not the dock itself.

A Thunderbolt 3 port has enough display bandwidth to handle a single 5K @60H display or two 4K displays at 60HZ.

On the 15" MacBook Pro (2017), it has two Thunderbolt controllers, so you can now attach a second 5K display or two more 4K displays.  But because it's on a second controller, it will have to be on a different port.

From Apple's Thunderbolt Page

  Thunderbolt 3 provides twice the display bandwidth of Thunderbolt 2,
  enabling iMac to support two 4K displays or one 5K display. And with
  two Thunderbolt controllers in the 15-inch MacBook Pro, you can send
  graphics to dual 5K displays for the perfect high-resolution photo and
  video editing setup.

The dock can support 2 displays, because that's the maximum that can be supported by the port.  To get a 3rd and 4th display, you would have to use a different Thunderbolt port on the MBP.

However, you could (theoretically - meaning I have never personally tested this) put a USB to DVI/DisplayPort/HDMI adapter on one of the USB ports of the dock and get a 3rd display, but I currently can't see how you would get 4K out of it.


How do I use the defaults command with App Groups?

As far as I've been able to determine there's still no proper way to do this. However, you can make it work by killing cfprefsd after using the above command. So I just use something like this in the Terminal app:

defaults write ~/Library/Group\ Containers/TEAMID.com.company.AppGroup/Library/Preferences/TEAMID.com.company.AppGroup PreferenceName -bool YES; killall cfprefsd

Not great, but better than nothing.

Update for macOS Sierra (10.12): Unfortunately using the file path doesn't seem to work anymore. Strangely it works on files that are elsewhere—like if I copy an App Group plist to the desktop—but I can't get it to work right on an App Group plist in its normal location.

It's worth noting that man defaults has included this note for a while:

  The defaults command will be changed in an upcoming major release to only operate on preferences domains. General plist manipulation utilities will be folded into a different command-line program.

Like I said though, this isn't an issue with arbitrary plists, it seems specific to plists in ~/Library/Group Containers/.


OS X command line installer track progress

You were close - the option you're looking for is -verboseR:

Usage: installer [-help] [-dominfo] [-volinfo] [-pkginfo] [-allowUntrusted] [-dumplog]
             [-verbose | -verboseR] [-vers] [-config] [-plist]
             [-file <pathToFile>] [-lang <ISOLanguageCode>] [-listiso]
             [-showChoicesXML] [-applyChoiceChangesXML <pathToFile>]
             [-showChoicesAfterApplyingChangesXML <pathtoFile>]
             -pkg <pathToPackage>
             -target <[DomainKey|MountPoint]

Here's installer's output installing a Firefox 43.0.1 .pkg built with AutoPkgr with that flag:

timmay:~ da4$ sudo installer -pkg /Users/da4/Desktop/auto/Firefox-43.0.1.pkg -target / -verboseR
installer: Package name is Firefox-43.0.1
installer: Upgrading at base path /
installer:PHASE:Preparing for installation…
installer:PHASE:Preparing the disk…
installer:PHASE:Preparing Firefox-43.0.1…
installer:PHASE:Waiting for other installations to complete…
installer:PHASE:Configuring the installation…
installer:STATUS:
installer:%9.883908
installer:PHASE:Writing files…
installer:%30.674055
installer:PHASE:Writing files…
installer:%51.530939
installer:PHASE:Optimizing system for installed software…
installer:PHASE:Validating packages…
installer:PHASE:Validating packages…
installer:%97.750000
installer:STATUS:
installer:PHASE:Finishing the Installation…
installer:STATUS:
installer:%100.000000
installer:PHASE:The software was successfully installed.
installer: The upgrade was successful.
timmay:~ da4$

I'm not exactly sure when the -verboseR option was added to OS X's installer, but it's present in 10.9+.


Can I copy (myself) an app purchased through the Mac App Store to another of my licensed computers?

Yes

You can simply copy the application to your Applications folder, and then login to the Mac Application Store with the same username and password. This will validate the application and allow you to run it without needing to download it again.

The only time this will become a legal issue is if you are copying it to someone else's computer, however, they will not get updates for the application unless they log in as you, or otherwise, unless they also have a purchased copy of the application.

You can also read my answer here for a more detailed explanation of Application installs on the Mac and the Mac App Store.


I assume you mean kernel panic:

  Kernel Panic, though sounding scary, is simply an occurrence when your Mac restarts for no obvious reason. Your Mac’s screen goes black giving you various warning messages like “You need to restart your computer.” Note that the presence of the warning message is what distinguishes Kernel Panic from usual Mac restarts and app crashes. In other words, Kernel Panic is just a Mac version of “blue screen of death” on Windows.

To start a kernel panic, you can issue the following command from Terminal:

sudo dtrace -w -n "BEGIN{ panic();}"

You will need to disable SIP if you have El Capitan or later. You can find instructions to do it here. It works for any version of macOS that has SIP, but you should NOT do it unless you really need to, since it is a security risk. If you do, you should re-enable it when your work is done.

Or an even better option is to test your software in a virtual machine using a virtualization software like Parallels or VMWare. This way, you won't damage your computer in any way.

This is not completely harmless if you try it on your actual machine instead of a VM. There is no completely harmless way of crashing your system. In my case, it didn't do any damage to my system, but you have been warned.


Apple messed up, in my opinion, by taking away the "missed" tab on the notification pull down in iOS 8.

The only thing I've found that helps is to navigate to settings > notifications and set "sort by time".   After that you can pull down the notification center, and the notifications will still be grouped by app, but at least they are sorted so the most recent group is on top, then you can scroll down reading the top notifications out of each group until you get "caught up"

Personally I used that "missed" tab more than almost another screen on the phone, I can't believe they eliminated it.


show sender name from mail headers in Apple Mail

You can see the actual sender email address by clicking on the email, then clicking the small down arrow next to the sender name. The menu that appears has it grayed out at the top of the menu:


iPad management in medium sized business

Cisco IPSec deployments can take advantage of certificate-based authentication via
industry-standard X.509 digital certificates. With certificate-based authentication, iPad supports VPN On Demand. VPN On Demand can establish a connection automatically
when accessing predefined domains, which would provide you with seamless VPN connectivity.

For two-factor token-based authentication, iPad supports RSA SecurID as well as
CRYPTOCard. Users enter a PIN and a token-generated, one-time password directly on
iPad when establishing a VPN connection.

Now without jailbreaking, you can't remove/hide the iBooks or any default icon. Unless someone knows otherwise.


How to listen to my iPod on an other computer?

When your iPod is plugged in, just go to Sur cet iPod (On this iPod) and you can actually play the music from your iPod.


You will want to check the following fields - they are the ones I see on iOS 6 when I sync a TV show to my iPhone:

Video tab: Show and Season Number
Info tab: Name and Album

The information from the first item (Video tab) is shown in the top level view of the Videos app and the second line (Info tab) gets shown when you drill down to see the episodes that have synced over to the phone. If you sync to an iPad, more details are shown in the video app - but the core 4 items above are shown there as well.


iPad 1 from Verizon was a normal iPad with a Verizon hotspot, and they can update to 4.3. According to Apples website, iPad 2 from Verizon (which now has a CDMA chip inside) can also update to 4.3.

Verizon iPhones can not update to 4.3, and that may be what this is about. Verizon iPhones are still 4.2, and so therefore if you are targeting 4.3 - those verizon iPhone users can't use your application. Their email states that this is just Verizon iPhone users.


Need help figuring out how to save 1500 pictures between 2 iPhones and and iPad while traveling

For part of your solution you could try Dropbox to upload the files for later retrieval.

Download the app on you iPhone 4 and setup an account.

To upload your images follow the instructions here (with visual aids). Which are:

First navigate to the location within your Dropbox where you'd like
to put the photos. Then do the following:
Tap the ellipsis (...) icon at the top right of the screen to get a
drop-down menu.
Tap Upload (+) from the menu.

(Optional: To put the photos in a new folder, tap Create Folder from the menu first before uploading.)

Tap the ellipsis icon to get a drop-down menu.
Select the album you'd like to upload photos from.
Select the photos and videos you want to upload.
Tap the Upload button at the top of the screen.

You could install the dropbox app on your personal iPhone login and the download the images from dropbox. But oddly dropbox do not do a multiple download to the iPhone photo library only single. ( pain)

It is possible to use third party app and logging into your dropbox account through it would allow you to do multiple downloads

Also dropbox have a new auto upload which may help you when you take new photos.

  The Dropbox mobile app gives you different ways to upload files from
  your phone or tablet to your Dropbox account. Once files are uploaded,
  they will sync with Dropbox on your computer and all your other
  devices.

  Upload photos and videos automatically

  Dropbox can automatically upload photos and videos taken from your
  iPhone. This feature is called Camera Upload, and you can turn it on
  when you first install the app or by going to the app's settings. You
  can also choose whether to allow uploading when your device is
  connected to a cellular network.

Keep in mind you get about 2GB+  free.

1500 images may that up most of that space. You can see how much by looking at the usage settings on iPhone ( amount will include video sizes)


Is there a way to determine what application wants Java installed?

I did some more research and finally found some things out:

I have the Logitech remote software installed, and when launching it, it brings up the prompt, but a slightly different one. So, I know I have a few Java apps installed, but this was happening without me launching something
My actual error was related to a Facebook chat thing I had installed a while back, that I never put on my iMac. It was named 'com.facebook.videochat.[username].plist', and was in my ~/Library/LaunchAgents directory.
I actually came across this question (asked after mine) when searching for the only Java information I found Console.app:

  8/31/12 6:44:23.606 PM Download Java Components[7588]:
  com.apple.message.domain:
  com.apple.java.usage2.DownloadOnDemand.complete
  com.apple.message.result: failure com.apple.message.signature:
  install_canceled com.apple.message.domain.version: 12A269

I would recommend checking your ~/Library/LaunchAgents directory first, and you can easily grep for java by doing: cd ~/Library/LaunchAgents and then grep -i "java" *.*. This searches for the word java (case insensitive) in all files in that directory. Thats where I found the reference to the Facebook videochat plist.


Having trouble editing Finder settings using defaults write

First of all you shouldn't need sudo and it may have caused the permissions issue, and no need to use the full pathname, just:

defaults write com.apple.finder ShowHardDrivesOnDesktop -boolean TRUE

The following works for me, as is, in OS X 10.8.5 and macOS 10.12.5 in both a Standard and Admin Account in Terminal.

defaults write com.apple.finder ShowHardDrivesOnDesktop -boolean TRUE; killall Finder

Using FALSE, in place of TRUE hides the e.g. Macintosh HD on the Desktop.

I'd probably opt to either restore the file from a known good backup or delete the ~/Library/Preferences/com.apple.finder.plist file and then run killall Finder in Terminal, letting it rebuild and should resolve the permissions issue as well.


Omitting photos when backing up an iphone to a macbook with itunes

I am assuming you are not using iCloud Photo Library, but are importing the photos into Photos through a USB cable.

What you can do is remove the photos from the iPhone after importing them, and then sync them to the iPhone through iTunes. As far as I know, when not using iCloud Photo Library, an iTunes backup of an iPhone will include a copy of all the photos in the Camera Roll of the iPhone, but it will not include another copy of all the photos that were synced onto the iPhone through iTunes (Apple Support states that “An iTunes backup doesn't include: [...] Content synced from iTunes, like imported MP3s or CDs, videos, books, and photos”). This way you can still view the photos on your iPhone without having two copies of them on your Mac.


MacOS Catalina, Disk Utility: "Unable to perform deferred repairs"

Run Disk Utility in Recovery Mode:

Boot into Recovery mode by holding down ⌘R while powering up
Select Disk Utility
Select the "Container" for Macintosh HD - Data (do not select Macintosh HD - Data itself)
Click "First Aid" and "Run"
If that does not seem to fix the problem, select the Drive that contains the "Container" and run "First Aid" on it.

The above is from memory. You may need to mount or unlock the drive at some point in the above process.


What's the max resolution for mini DisplayPort connected to a 2013 MacBook Air?

You can get full resolution with mini DisplayPort to DisplayPort or mini DisplayPort to Dual-link DVI.  Dual-link DVI supports up to 2560x1600 pixels resolution.  DisplayPort supports that resolution or even higher.

You will not get full resolution with mini DisplayPort to DVI.  DVI is limited to 1920x1200 or something similar.  You usually won't get full resolution with mini DisplayPort to VGA.

I do not know whether you get full resolution with mini DisplayPort to HDMI.  I think it depends upon your graphics card.

Bottom line. I would recommend using mini DisplayPort to DisplayPort.


With iLife 11, considerations of slide shows

Nope, not at all. iPhoto has great slideshow capabilities.
Lots of examples on YouTube.

No need to involve DVDs; or slow, aging software like iDVD.


How to clear iPhone's concact cache for text messages?

This has been FINALLY fixed in IOS 7. Now you can remove contacts from this cache.

As soon as the unwanted contact pops up while you're typing in the "to:" field, you can tap on a little "i" (probably for "info") icon on its right, and have a menu appear where you can remove the contact, or add it back to your address book if you feel so inclined.


Go to your Disk Utility [it's in Applications > Utilities > Disk Utility] or by Spotlight Search.

Click on the Volume where your Mac HD is on.

Click on Partition tab and select the corresponding partition you want to erase. Now click on the minus (-) button in the bottom bar.

Note this option will be grayed out if you don't have more than 1 partition. Instead you want to erase the drive. Click on the Erase tab of Macintosh HD and erase accordingly.


It should not install until and unless you click on install.


How to keep a file hidden in Finder, but readable, writable and visible to an app?

Set an immutable flag on file(s) to prevent changes*:

sudo chflags hidden,uchg /path/to/file

What's an immutable flag?

  "Immutable flags, also known as immutable bits, are file system attributes that, when enabled, prohibit changes to files or folders (objects), i.e. lock them. Enabled, immutable flags supersede permissions: you cannot modify an object whose immutable flags have been enabled despite having Read & Write permissions on that object."

Note*: This will ensure that the file remains hidden, but may prevent the application from running properly if RW access is needed. This is the tradeoff. That being said, to unset the flag, you would run:

sudo chflags nouchg /path/to/file

If this is the case, I advise that you contact the developer of the application since it need not automatically make a hidden file visible in order to be able to RW to that file. That's a bug in the application itself, period.


Download the font from below, then drag and drop that file into Font Book.app

https://gitorious.org/deblock/iphone/raw/ce72bc0d9bc69ffcaef4320450aeb5a38003d663:Resources/Fonts/Apple%20Symbols.ttf


Markdown editor with folders as local libraries

I use Sublime Text with the Markdown Preview package.

It has Markdown syntax highlighting, color themes, and lets you treat directories as projects, allowing you to search over them, as you requested. The Preview package allows you to see the MD result in your choice of browser, with your choice of renderer (regular/GitHub).

Sublime is very versatile and open to many more customizations, should you require them.


Why other apple ID-s appearing constantly?

It sounds like you are restoring the phone from a backup (iCloud or otherwise) and such a backup is placing all of your old apps back on your phone, which it is supposed to do.

It sounds like what is happening that some of the apps were downloaded under another AppleID. Whether it is someone who was using your phone and did this or the apps are from other sources.

The only way to get around this (without jailbreaking your phone) is to cancel all app installs and then download them one at a time from the app store under your personal AppleID. Apps that are associated with your current AppleID will have the download icon next to them (cloud with a downward pointing arrow) all others will have have a "GET" or "BUY" button.


How to format selected text in monospace in Apple Notes app?

I guess you can't change it. MonoSpace falls under Paragraph Style in Notes and it implies for whole sentence or paragraph.


I think there is a security setting in Mavericks (and possibly Mountain Lion) that causes Automator not to allow system control. See this question

Open your Console and watch the logs when you run the service. In my case, it crashes when I try to run a shell script.

I tried adding Automator to the Security and Privacy preferences, but it did not solve the issue.

As a work around, you may have to use applescript to create and app, tie that to a service, and add the app to the Privacy tab of your Security and Privacy preference pane.


Just to clear this up, this was a 13'' MBP.

I've tested with other chargers and other people's MacBooks and found out my charger was faulty. Got a new one and everything is fine.


Click the Format button in the upper right
Select the "Cell" tab
Under Data Format select "Date & Time"
Under Date select your prefered format.

You should be able to enter a date in these newly formatted cells any format (like 8-22-14) and it should change to your selected format.


After a search, the open-source munki tool has the script I need.

https://github.com/munki/createOSXinstallPkg

This works perfectly for my needs. Also, you could do far worse than AutoDMG which does a similar task for restore based workflows.

https://github.com/MagerValp/AutoDMG


Date calculation in AppleScript. Week numbers and their start date

Thanks to @ryan-m's comment I found a solution. Turns out date(1) is actually really cool. Its ability to do "adjustments" were the answer.

You can tell date to simply "go to" a specific day by using -v. You can then use plus and minus to "adjust" that date in another -v. So for instance:

date -v 1w -v 16y

Will go to the first month of 2016. (Or a date that contains that date)

With an adjustment we can walk through dates:

date -v +1w -v +0d -v 16y
date -v +1w -v +6d -v 16y

This goes to the first week of 2016. The second command goes from the beginning of that first week 6 days ahead. This is the 10th of January 2016. -v +2w would be the second week, and so forth. It's apparent which part can be automated here.

Everything that +'string' at the end does is it formats the date you're at in the way you want it displayed. I use this in my script to make a date-string that AppleScript's date command understands. Please don't confuse the shell command date(1) with the AppleScript date command.

This is the script I ended up with, by the way:

repeat with weekNumber from 1 to 52
    set weekStartShell to (do shell script "date -v +" & weekNumber & "w -v +0d -v 16y +'%d. %m. %Y'")
    set weekStart to date weekStartShell
    set weekEndShell to do shell script "date -v +" & weekNumber & "w -v +6d -v 16y +'%d. %m. %Y'"
    set weekEnd to date (weekEndShell & " 23:59:59")
    set projectName to (("CW" & weekNumber & ": " & weekStartShell & " - " & weekEndShell) as string)

    tell application "OmniFocus"
        tell folder "Day Projects" of default document
            set projectWeek to make new project with properties {name:projectName, defer date:weekStart, due date:weekEnd, singleton action holder:true}

        end tell
    end tell

end repeat

Note that in order to use AppleScript's set var to date "date-string" you have to give it a string in your locale. In Europe the string is 01. 02. 2016 23:59:59. In America this probably is something like 2016/02/01 23:59:59. You need to modify these in the variables in the script. (+'%Y/%m/%d' at the end)


I would just use the 'sed' command.  You can run a for each loop over all the files and parse out the "[!]".

sed 's/\[!]//'

for loop version:

for f in /path/to/files/*; do
rename=`echo "$f" | sed 's/\[!]//'`
mv "$f" "$rename"
done

Otherwise I would suggest installing "rename" from homebrew if you have that installed.  I also have a Automator right click service that does batch rename's if you would like a graphical way.


Why does everything on my Desktop show up on all my desktops?

What you are referring to are called Spaces in macOS lingo.

While Spaces are named as numbered desktop as Desktop 1, Desktop 2 etc. they are essentially all the same, except giving you are a means of organizing app windows.

Each Space gets access to the same Desktop and hence shows the files available in it.

If you choose to use external display(s), the Desktop is not shown on the Spaces of the non-primary displays.


MacBook Air shows battery as power source when plugged in

Try an SMC reset. It's responsible for a lot of stuff, including battery and battery reporting.

https://support.apple.com/en-gb/HT201295


How can I install boot camp if I have a Windows 7 upgrade CD?

Actually, it's not that Apple won't let you install Windows from an upgrade disc—it's Microsoft that won't.

Think of it in terms of a blank hard drive on (what will be) a Windows PC. You can't use an upgrade disc to install Windows, as there's no OS there to upgrade.

However, once Windows is installed, you can then upgrade to a later version of Windows. This is covered in the Boot Camp
Installation & Setup Guide (pdf), page 15+.


Go to the App Store and resume any unfinished downloads.

To do that, open the App Store and in the menu go to Store --> Check for unfinished downloads.  Enter your login credentials.  You can see any downloads that didn't complete.  From there you can restart or delete it.


How to solve blank Safari Window / Safari crash (10.1.2)?

Same happened to me--same error, same OS X and same Safari version. The following files in /System/Library/PrivateFrameworks/ had today's timestamp on my computer. I restored these files from my backup in Time Machine. Safari is working again.

drwxr-xr-x  5 root  wheel  170 Dec 14 12:30 iTunesAccess.framework
drwxr-xr-x  6 root  wheel  204 Dec 14 12:30 CoreFP.framework
drwxr-xr-x  6 root  wheel  204 Dec 14 12:30 CoreADI.framework
drwxr-xr-x  5 root  wheel  170 Dec 14 12:30 MobileDevice.framework
drwxr-xr-x  5 root  wheel  170 Dec 14 12:30 DeviceLink.framework
drwxr-xr-x  6 root  wheel  204 Dec 14 12:30 AirTrafficHost.framework


How can I activate an iPhone 5s locked to another person's iCloud account?

Sorry but there isn't a way to remove the previous activation without the previous owners iCloud details. That would defeat the purpose of these anti-theft measures.

Apple provide instructions here on how to remove the activation lock. You will need to contact the previous owner. Please speak to whoever you bought the iPhone from.


Its easy:

Go to: setting > Mail, Contacts, Agenda   and "add a new account".
Choose "other"
Then add "CardDav-accounts" under "contacts" tab

In the server field first fill in: contacts.icloud.com
Then you apple id and password, then add or save account.
Then the server address will change to something like:  p02-contacts.com

Next step is to know what unique apple ID you have, you can find it here on your mac:

~/Library/Application Support/AddressBook/Sources/<iCloud Account ID>/Configuration.plist.

Now, go back to the just created account on your iPhone for your contacts and change the server address field.

Contact server: https://p02-contacts.icloud.com:443/<uniqueid>/carddavhome/

You have to add everything above, so https://<your correct server>:443/<your uniqueID>/carddavhome/

Before you do all this you have of course setup iCloud and make sure that you have address book checked. Also make sure you have deleted your MobileMe account on the iPhone first if you have one.

It might take some time but it will work.


Launchd is keeping the process alive. You need to run

$ sudo launchctl unload /System/Library/LaunchDaemons/com.apple.taskgated*.plist

to unload the daemon. To load it again, run:

$ sudo launchctl load /System/Library/LaunchDaemons/com.apple.taskgated*.plist


Mac Mini (Late 2009) - Recommended OSX Version for it?

The answer to your question, in short: It is always advised that you have the latest possible OS for your computer. This is due to the myriad of bug fixes and security patches that come along with new OS updates and intermediary releases.

I would suggest bumping up the RAM to the highest possible as well, but at least to 4GB. This should result in an immediate performance boost and result in smoother system operation. Switching the HDD can also help, but is less urgent.

If all else fails, you can always try restoring the operating software to a new state. Often, systems will change over time and become loaded down with old/unpatched/inefficient software and/or changes made to files that result in degraded performance. A new clean wipe will ensure you are running the best software available for the machine.


Can't find file saved in Propellerhead Reason 8

Files that begin in a . are invisible to Finder. If you go to the directory in terminal and enter ls -a it will show the invisible files.

You can do mv .cubicle..reason cubicle..reason which will change the name and make the file visible.

To view hidden files in Finder see: How to show hidden files and folders in finder?


Is it possible to have Apple update RAM in current Mac mini (Late 2014)

Short answer:  No.

Apple is not going to retrofit memory into any Mac (Mac mini, MacBook, etc.) if you want to upgrade.  They don't even make simple repairs to their logic boards - they will just replace them.

If you require more memory, you will need to

replace the logic board
purchase an entirely new unit

While I typically would purchase a machine (Apple, Dell, Lenovo, etc.) with the highest CPU and lowest memory and drive specs, this has now become impossible since RAM is now commonly soldered on and in the case of Apple, their SSDs are proprietary.

Buy the machine with the specs you think you will need in the future, not for what you need now.


Stuck without admin account on a MacBook Air running 10.5.8

Learned something new today:  You can break the firmware password with help from Apple.

http://reviews.cnet.com/8301-13727_7-57542601-263/efi-firmware-protection-locks-down-newer-macs/

This note says that Authorized Service Providers are equipped for that?  http://support.apple.com/kb/ts3554


Is there any kind of authoritative guide to Apple's Volume Purchase Program, Device Enrollment Program, and Mobile Device Management?

I'm sure if you'd searched the Web just with the keywords that you have listed, you'd get a lot of official resources right on the first page of the search results.

But nonetheless, here are some links to get you started:

Apple Deployment Programs - Volume Purchase Program Guide
Apple Deployment Programs - Device Enrollment Program Guide
Apple Deployment Reference - Mac
Apple Deployment Reference - iPhone and iPad
Mobile Device Management Settings
Apple Deployment Programs
Upgrade from Apple Deployment Programs
Volume Purchase Program
Apple Business Manager User Guide
Business Support
Getting Started Guide - Apple Business Manager
Upgrade your organization to Apple Business Manager


An iTunes Applescript that appends to tag only when it doesn't match part of the tag string?

This script works if the keyword is between parentheses as in your example, otherwise partial match will be a problem. Example : "fast" match "faster"

property matchCase : true -- or false -- change according to your needs

set myTitle to "Append to Comments Tag, if the keyword not exists"
set keywordSeparator to ";" -- keyword separator

tell application "iTunes"
    set sel to selection
    if sel is not {} then -- if tracks are selected...
        set s to "s"
        set x to (length of sel)
        if x is 1 then set s to ""
        set be to (display dialog "Enter keyword to append to the beginning or ending of each selected track's Comments tag:" & return & return & " If more than one keyword, use this character " & keywordSeparator & " as separator." default answer "" buttons {"Cancel", "Beginning", "Ending"} cancel button 1 with title myTitle)
        set appendage to text returned of be
        set buttonOpt to button returned of be is equal to "Ending"
        if appendage is "" then return
        set listOfAppendage to my makeListOfKeywords(keywordSeparator, appendage)
        set oldfi to fixed indexing
        set fixed indexing to true
        repeat with t from 1 to x
            tell contents of item t of sel
                try
                    set tresult to my checkExistKeywords(comment, listOfAppendage, buttonOpt)
                    if tresult is not false then set comment to tresult
                end try
            end tell
        end repeat
        set fixed indexing to oldfi
        activate
        display dialog "Done!" buttons {"OK"} default button 1 with icon 1 with title myTitle giving up after 4
    else
        activate
        display dialog "You must select some tracks first." buttons {"Cancel"} default button 1 with title myTitle
    end if
end tell

on checkExistKeywords(tagValue, tKeywords, tOpt)
    set isAdding to false
    repeat with tKey in tKeywords
        if matchCase then
            considering case
                contents of tKey is not in tagValue
            end considering
        else --Ignore Case
            contents of tKey is not in tagValue
        end if
        if the result then -- no match
            set isAdding to true
            if tOpt then
                set tagValue to tagValue & tKey
            else
                set tagValue to tKey & tagValue
            end if
        end if
    end repeat
    if isAdding then return tagValue
    return false -- nothing to add
end checkExistKeywords

on makeListOfKeywords(tofind, t)
    set ditd to text item delimiters
    set text item delimiters to tofind
    set t to text items of t
    set text item delimiters to ditd
    return t
end makeListOfKeywords


I cannot boot Ubuntu 16.04 on MacBook Pro(Mid 2012, macOS Sierra)

It's not clear from your question whether you were using rEFInd or not. If so, the problem is most likely that updating to macOS Sierra reset the rEFInd boot loader configuration.

The first thing to try is reinstalling rEFInd. Reading The rEFInd Boot Manager:
Keeping rEFInd Booting may also be of interest.

If you aren't using rEFInd, please clarify this in your question.


Solved following these steps.

Removed my macbook from iCloud
Followed this guide: http://www.tomsguide.com/forum/id-1317787/unlock-apple-macbook-pro.html