This sounds like an issue with your PATH, run

/usr/bin/echo $PATH

My guess is that is going to be missing the required directories

export PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin

Then try again

The PATH variable is the list of directories that will be searched when executed by the shell; this variable will not persist between bash sessions - and should be set in your ~/.bashrc file.

echo "export PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin" >> ~/.bashrc

In your shell, bash, the .bashrc file will automatically be sources on terminal creation.


Use Disk Utility to reformat the old drive. It will be much quicker than forcing the Finder to delete hundreds of thousands, if not millions, of files by throwing it in the trash.

If you have other files on this old disk you want to keep on this drive, you can:

copy them to another disk; reformat the old disk; copy them back to old disk

or

use Terminal to delete Backups.backupdb using the rm -d -r command. Using Terminal removes a lot of overhead imposed by a Finder delete and works much faster.


How do I view which devices are connected to my AirPort Extreme using AirPort Utility v6.0?

Just click on the AE icon and it will display a list of connected wireless clients.


I backed up my ipad and then did a restore but now some of my apps are coming up incompitable?

The best way to do this is to connect the iPad to iTunes and do a 'sync' of everything, including its applications. This saves the iPad's applications to your local computer.

After doing the sync, you should then do a backup. This will save its settings.

The reason why it is important to do the sync is because there is the possibility that some applications that you had on the iPad are not available on the App Store any more. Imagine, for example, that you had Flappy Bird installed on there :)

After doing the restore, you should then sync the iPad with iTunes again - this will put all the content that was on the iPad before you restored it, back on the iPad.

If you do not do this, the iPad will only be able to get any applications that are still available on the App Store now, and any apps that are no longer available, will not be on the iPad any more.

EDIT: Apps coming back as being "not compatible", may be apps that used to be compatible when they were created ages ago, but have not been compatible with the original iPad for a few years now, and there is no longer a compatible version on the Store.


Install python3 from Homebrew vs the installer from https://www.python.org/?

I'd say it's entirely a matter of personal preference, as to whether you like to use HomeBrew or not.
There was a recent post about some problem with brew python, but it may be a local issue, or have been fixed.
Python 3 'json' module is actually corrupted


I have iCloud but I don't know how to use Find My iPhone

Go to icloud.com/#find and log in. No download is necessary and your device should be located on a map and allow you to lock/erase/etc.


Apple/iOS: record videos via iPod touch; reduce video size?

"Extremely high quality audio and video" will take up a lot of space, so you'll have to compromise on quality if you want to save on file size.

I would suggest using HandBrake to re-encode your videos at a lower bitrate or smaller size.


unable to create partition on free space using disk utility

Both the Disk Utility application and diskutil command do not allow free space to be converted to a new partition. Instead, you are suppose to create new partitions by splitting an existing partition.

So first of all, enter the command given below to reclaim the free space to the existing APFS partition.

diskutil apfs resizecontainer disk0s2 0

Open the Disk Utility application and highlight the container disk1, then click on the Partition button. You should get an image similar to what is shown below.

Next, click on the Partition button in the popup window. You should get an image similar to what is shown below.

Click on the +button, then enter a name. I chose Macintosh HD 2. Make sure the format is APFS and the size is 350 GB. The result should be an image similar to what is shown below.

Next, click on the Apply button. You should get an image similar to what is shown below.

Next, click on the Partition button in the popup window. The result should be an image similar to what is shown below.

  Note: The Disk Utility application may show incorrect results. You may need to quit and reopen the Disk Utility application to see the correct results.


Replace TextEdit as the default text editor in MacOS Big Sur

Have you tried SwiftDefaultApps? It's a modern replacement for the old RCDefaults System Preferences pane.
https://github.com/Lord-Kamina/SwiftDefaultApps
Here are two screen shots of SwiftDefaultApps, the first showing Uniform Type Identifiers tab for public.plain.text with Sublime Text 2 set as the Editor, and the second showing the Applications tab and Sublime Text 2 with public.plain.text checked. (This works the same with Sublime Text 3 too.)
With these settings, any plain text file, with or without a .txt extension, will open in Sublime Text when double-clicked in Finder.

 Historical Reference: RCDefaultApp @ web.archive.org: https://web.archive.org/web/20200312011847/http://www.rubicode.com/Software/RCDefaultApp/


macOS isn't using my configured dummynet

By default, pf is not enabled on modern macOS. You'll need to enable it first by running this command:

sudo pfctl -E

If you prefer a graphical interface instead of the command line interfaces for dummynet and pf, you can use Apple's "Network Link Conditioner" instead.

You can find it in the "Additional Tools for Xcode" package. If you have Xcode installed, it can be downloaded from within Xcode - otherwise you can download it directly from Apple's developer page (you do not actually need to have Xcode installed).

After downloading, you'll find it in the Hardware folder as a preference pane you can double click to install.

From the preference pane, you can enable/disable the link conditioner, choose which interface to have an effect on, and specify what you want to simulate (such as limited bandwidth, dropped packets, delays, etc).


Replacing an old used Iphone 5S to a new IPH5S

Yes, this is possible.

However, if you want to keep all your data etc, you will need to do a full backup of your old iPhone (e.g. to iTunes on your Mac/PC) first and then connect the new iPhone to do a restore from the old backup. This assumes, of course, that the new iPhone has at least the same capacity as the old one. If not, you may run into problems.

Also, make sure your friend has followed Apple's advice on What to do before you sell or give away your iPhone, iPad, or iPod touch.


Getting error -1426 when trying to transfer files from iPhone via iTunes File Sharing

I don't recall ever seeing that specific error code with iTunes before.

However, when it comes to the other 14xx* error codes I've seen, the fix is usually doing one of the following:

Restart your Mac (or PC) and change the USB port you're using
Restart your Mac (or PC) and change the USB cable you're using

If neither of these works, reinstalling iTunes may resolve the issue.

Another option worth trying is to download and install iTunes 12.6.3 (this can be installed alongside newer versions of iTunes).

Refer to Deploy apps in a business environment with iTunes on Apple's website for further information and download links.

Let me know if none of the above works.

* More specifically, error codes 1413, 1415, 1417, 1418 and 1428.


Connect your iPad to your Mac. Open iTunes, select the iPad on the top and on the left you will find a photos menu where you can select what you'd like to sync.

Alternatively, you can use iCloud Photos, which would have to be enabled on both your iMac and your iPad, which will then sync photos over the cloud (via your internet connection). However, if you have a lot of photos, you'd might have to buy additional space on iCloud.


Why might a Macbook Pro go back into sleep shortly after waking up?

Possibilities include (listed from the best case to worst case):

Incorrect SMC settings. To fix this: read
http://support.apple.com/kb/ht3964 (your situation is described the Power section)
A battery that's not retaining its charges. To check: read about Battery Cycle Count at http://support.apple.com/kb/ht1519

There are other possibilities but let's try these first. Feedback if these doesn't work for you.


How to sync 30 days of mail in the mail app?

You can't do this in the OS X Mail client. Mail.app will download all your emails available on the server.

The workaround is to make the change on the server. You mention that you have Gmail, therefore you can go to Gmail's IMAP settings and restrict the amount of emails available (for example, the most recent 1000).

Also, you can exclude labels from being visible to IMAP, therefore Mail won't download the contents.


I believe this is GateKeeper doing its thing.

Try slackening off the security a little bit; go to Security & Privacy prefpane, and change Allow apps downloaded from: to a more lax setting (you may need to choose Anywhere, I'm not sure if Atlassian qualify under "identified developers").


Cannot install High Sierra or Sierra, get "installer payload failed signature test"

Somewhere along the line it lost its time/date.

If you're still in the OS X Utilities, go to Utilities > Terminal and type

date

to see the current date. Mine was 17 years out of date.
If connected to the internet, update through Apple's server:

ntpdate -u time.apple.com

if not connected, do it manually

date MMDDHHMMYY

That's month, date, hour, minute, year.
So:

date 1116120717

You can also get to the terminal via CMD+S and Single User Mode, but just do it through the utility.

from these forums I found the incorrect date possibility:
https://forums.developer.apple.com/thread/49094

This site had the steps:
https://www.macworld.com/article/3097533/macs/installing-os-x-what-to-do-when-this-copy-of-the-install-os-x-application-cannot-be-verified.html


I went through this myself a couple of weeks ago. Stupid tile floor in my office wouldn't catch my phone at 9.81m/s2. I ended up taking my phone into a mobile repair shop and had them replace the screen (voiding my warranty in the process), but was a hell of a lot cheaper than doing it myself. Took all of about 15 minutes.

Your profile doesn't list where you live, but any Apple Authorized repair shop can do it for you (or send it away for repair if they can't do it in house).

That said, it is possible to do the repair yourself. iPhone 3GS glass replacement kits can easily be purchased on eBay and from any other number of resellers. The process for doing it yourself isn't easy, but depending on your own level of handiness, you could do it yourself.

There are some excellent video guides for DIY iPhone glass replacement on YouTube. For example: http://www.youtube.com/watch?v=4mboB8p-sdw


How to stop macOS updates from taking over the rEFInd boot manager?

By default, rEFInd is installed in the EFI partition. Another option is to install rEFInd in a new small "Mac OS Extended (Journaled)" volume. This will allow rEFInd to appear in the Startup Manager.

Below are the steps. The commands need to be entered into a Terminal application window.

Create the new volume. The diskutil command, shrinks the APFS container (121100M, i.e. 121.1 GB) by 300 MB (120800M) and creates the new 300 MB "Mac OS Extended (Journaled)" volume labeled "Macintosh HD via rEFInd".

sudo diskutil ap resizeContainer disk1 120800M JHFS+ "rEFInd" 0

After the command completes, restart the Mac.

  Note:  If you get an error message which includes the phrase "perhaps caused by APFS Snapshot usage by Time Machine", then see Neil's own answer to the question: Can't resize APFS Container: Not enough free space in Container due to APFS limits or tidemarks.

Download the rEFInd Boot Manager software from this SourceForge web site. Enter the following commands to install the software to the "Macintosh HD via rEFInd" volume.

cd ~/Downloads/refind-bin-0.11.4
./refind-install --ownhfs /dev/disk0s3

  Note: The error message Could not set boot device property: 0xe00002bc was expected and can be ignored.

(Optional) Use the command below to navigate to the folder containing the refind.conf file.

cd "/Volumes/rEFInd/System/Library/CoreServices"

Add write permissions to the CoreServices folder and the refind.conf file.

sudo  chmod  a+w  .  refind.conf

Restart the Mac and immediately hold down the option key until the Startup Manager icons appears. Next, hold down the control key and select to boot from the rEFInd volume.


How can I whitelist applications for users?

Under Screen Time there's a setting called "Downtime", it's for specifically for white-listing apps and you could schedule it by day. Any new apps introduced will be blacklisted by default, at least that's the way it works on iOS.


How to restore calendar events from iCloud?

The only way is to have external backups.


Why does HTML mailto link open Brave browser?

mailto: links open in the system's default Email Reader. You might have this configured as Brave.
On macOS you change the default Email Reader from Preferences inside the Apple Mail app. See https://support.apple.com/en-us/HT201607
In Chrome, there is also a setting to determine which website (e.g. Gmail) handles the protocol, I assume Brave works similarly: https://support.google.com/a/users/answer/9308783?hl=en


iPad children's storybook with audio: is there a way to create a paid iBook AND free version?

You may wish to avoid using iBooks Author (iBA) and the iTunes store for distribution since what you seek to do (provide a free download to paying customers that pay elsewhere) violates Apple's guidelines that each SKU either be paid (and paid through an AppleID and Apple's payment system) or free to all who wish to download it.

http://support.apple.com/kb/HT5071

There is nothing preventing you from controlling the distribution of a generic  source file that's PDF or ePub format and using whatever payment system you want. Also, as long as your work is free - you can use iBA even distribute PDF/ibooks files outside the App Store ecosystem. In both these cases, your customers would then be free to choose to consume your work using iBooks or other apps as they choose. You will be bypassing Apple's DRM, review, code-signing and customer handling (billing, first level support, account setup, etc…) so there seems to be little avenue you will have to control each person from re-sharing your work and you'll probably need to spend significant energy and time to implement a framework from which you build your multimedia ePub book if you choose to go without the iBooks Author packaging and authoring system.

You should be in the clear to use iBooks Author to craft your paid book for distribution through Apple's channels and reevaluate whether you need to somehow offer those books for free rather than gifting them. You might need a lawyer or to work with Apple to determine what modifications would be needed for you to have a paid work for sale and a free work for distribution to your paying customers. I would guess you would be in violation of the license terms of iBooks Author if you were selling one version and made a second version that had trivial changes and was distributed outside the store to get around the pricing intentions Apple has established.


Is this a standard file Mac/private/var/root ( root being one of 6 with a red circle in the lower right hand corner with a minus sign in it.)

The red circle with dash or a minus sign in it refers to a folder to which you do not have permissions to see the contents of. The folder you are specifically showing in that screenshot are System files owned by the root/system. You shouldn't attempt to modify, move or delete these files as they are important to your operating system and that is why the permission has been set.

To answer your question, yes it's completely normal, it's likely that its just logging errors, system activity or even a programs activities, it's nothing that you need to be worried about, it's just standard system operations.


Trouble transferring Mail folders to a new Mac

Try: File -> Import Mailboxes

Then point it to the mailboxes you copied over (in ~/Library/Mail/V4).


Auto-tag folders/files dropped into a folder

Option 1: Using Hazel

You can auto-tag folders/files dropped into a folder using the commercial software Hazel, which according to its developer Noodlesoft, "watches whatever folders you tell it to, automatically organizing your files according to the rules you create."

Option 2: Using Folder Actions

You can auto-tag folders/files dropped into a folder using the Folder Actions feature of macOS. I wrote the following AppleScript based partly on one of Apple's default Folder Action Scripts and partly on a script provided in a discussion in the Apple Support Communities. I tested this script in Mac OS X 10.6.8, 10.9.5, and 10.11.6 and it worked in all three versions of macOS (but see the Important Caveat section below).

property label_color : {none:0, orange:1, red:2, yellow:3, blue:4, purple:5, green:6, gray:7}
on adding folder items to this_folder after receiving these_items
    tell application "Finder"
        try
            repeat with i from 1 to number of items in these_items
                set this_item to item i of these_items
                set label index of this_item to red of label_color
            end repeat
        end try
    end tell
end adding folder items to

The first line of the script, property label_color : {none:0, orange:1, red:2, yellow:3, blue:4, purple:5, green:6, gray:7}, is not really necessary; I just included it to show which label index number corresponds to each color. You could remove the first line and change red of label_color to 2 and the script would have the same effect.

There are a few ways to attach this AppleScript to a folder as a Folder Action Script. One way is to open Automator, create a new Folder Action, add a Run AppleScript action, and replace the content of the Run AppleScript action with this script—but this didn't work in my test. Another way, which worked in my test, is to save the script in either /Library/Scripts/Folder Action Scripts/ (for use by any user) or in ~/Library/Scripts/Folder Action Scripts/ (for use by the current user only), and then do the following steps:

In the Finder, Control+click (or right click) on any folder to show the contextual menu.
From the contextual menu, choose Folder Actions Setup (or Services and then Folder Actions Setup).
From the prompt window, choose the name of the script that you just saved.
Check the Enable Folder Actions option in the upper-left side of the Folder Actions Setup window, if it is not already checked.

Important Caveat

Technically, the previous script only sets the file label, which is not exactly the same as a tag, as John Siracusa explained in his Ars Technica review of tags implementation in OS X 10.9; however, in Finder in OS X 10.9 and later, the result of the previous script will be indistinguishable from a tag. The previous script works in versions of Mac OS X 10.6 or later.

A more robust Folder Action Script that sets a red tag and label instead of only a red label (although, as I said, the results are indistinguishable in the Finder) can be found in the AppleScript given below.

The script given below requires that you first install James Berry's tag tool (which requires OS X 10.9 or later). It can be installed easily with the package manager Homebrew (brew install tag) or MacPorts (sudo port install tag). If you install it with Homebrew, replace /opt/local/bin/tag (which is the MacPorts path) with /usr/local/bin/tag (which is the Homebrew path) in the script below.

on adding folder items to this_folder after receiving these_items
    tell application "Finder"
        try
            repeat with i from 1 to number of items in these_items
                set this_item to item i of these_items
                do shell script "/opt/local/bin/tag --add Red " & quoted form of POSIX path of this_item
            end repeat
        end try
    end tell
end adding folder items to

A third way to write the AppleScript (in OS X 10.9 and later) would be to install an AppleScript/Objective-C Library written by Shane Stanley called FileTagsLib and then replace the do shell script line in the script above with the appropriate command as described in the FileTagsLib documentation, but I have not tested this third option.


Remotely SSH to IP address in home network

One way to do what you want here is to add a port mapping in your Airport Extreme that points a non-standard remote port (e.g. 8022) to port 22 on your local 10.0.1.104 machine. Then, you can specify a different port in your SSH client (e.g. '-p 8022') to gain remote access.

You could also SSH into 10.0.1.100 first, and then SSH into 10.0.1.104 from that machine.


Could my iPhone 6's 4G possibly be "broken" while its 3G still works?

Go to settings > cellular data > cellular data options > turn off 4G and turn it back on.

Another way I use to get my phone on 4G is airplane mode on and off.


Office 2011 - Folders on Mac OS X Server network share not visible during save

I had the same issue. To fix it I renamed my Library->Application Support->Microsoft->Office folder to "Office Backup", allowing the program to create a new folder upon opening. After reopening, the issue was fixed.

Be sure to copy over any template files you had created (such as an updated normal.dotm file for word) from the Backup folder to the new one once you have confirmed the issue has been fixed.


My iPhone front camera won't work (it freezes)

Deleted Pinterest, suddenly works for me


Cleaned hard drive, reinstalled OSX- now all my iTunes purchased music is gone

Sign in to itunes, click iTunes Store. In the right hand column there is a link to "purchased"

This opens to a screen that looks like this:

You can re-download everything from there as long as its all on the single apple ID.

Good Luck!


Apple TV can't stream video; no problem on iPad/iPhone on same network

The solution ended up in this case being unplugging/replugging in, which worked while a soft reset (in Settings->Restart) did not.


Stuck on Apple logo after attempted iOS 8.0.2 update

In the end I had to get the iPad to a useable state so I went ahead with the restore.

This was a non-ideal solution, I'll be checking back to see if anyone has other upvoteable ideas.


The iOS 4.3.3 update changed the location cacheing dynamics, so Exchange wouldn't benefit in the least.

Deleting the Exchange account and re-entering the information is a good first step, before considering a restore. Does it actually confirm a connection to your exchange server when you've entered the information? If it doesn't, then we're at good odds the iPad isn't the problem at all.

If the server settings are good, and you're setting up the Exchange server in the proper area of the Mail accounts area, then I would consider following with @luca590 and restore.


I accidentally touched my rMBP screen with sweaty hands

No, especially not if you cleaned it immediately. You have nothing to worry about.


Mail.app: open messages in tabs instead of windows?

MailTabs previously would only install up to Lion.
I just confirmed MailTabs can now install on Yosemite, since it seems to be detecting 10.10.1 as 10.1. Messages that are opened as separate windows will fill the window as if taking up a tab. The Shift-Command-LeftSquareBracket and Shift-Command-RightSquareBracket keys work in that you can navigate between the messages and the normal app view, but there are no actual tabs present. The messages do not stay open between closing the app and re-opening the app. The full-screen view is very broken, and it even got stuck for me, leaving me only with the option to Force-Quit.

This plugin would be extremely useful if it was revived, as it can give you the tab functionality available in Thunderbird. The MailTabs page on the site has not worked for a while and now the parent website itself for http://simplicity.fm now seems to be down as well. My hope that this plugin will be available again is slowly dwindling because of this.


First, the best way to run a cron script as root is to add it to the root user's crontab. EDITOR="vi" ; sudo crontab -u root -e will allow you to edit the root crontab. Once you are doing that you don't need to use `sudo; inside your script.

As for running it every Thursday, check the man page for the crontab table man crontab -s 5 and it will explain all you need to know.


How to merge an HFS+ partition into my APFS partition

Choose the internal drive (Apple HDD...)
Hit "Partition" in the top row
Choose the freeMacPartition slice of the pie
Hit the --button and then the Apply-button

The freeMacPartition has to be located downstream of (or "after") the APFS container in the partition table or merging won't work.


Which `vboxmanage clonehd` variant corresponds to the GUI selection `dynamically allocated`?

According to this forum post:

Standard (the default) - one piece dynamic (sparse) extent file, plus a small descriptor file.
Fixed - extents will be flat (rather than dynamic/sparse).
Split2G - image is split into multiple extents, each less than 2GB.
Stream - image is optimized for streaming downloads rather than running in a VM. This type may be compressed.
ESX ?

so standard is you proper option or no --variant at all since standard is the default.


Is there Spotify-Connect-Equivalent functionality for Apple Music?

In 2018 - AirPlay and AirPlay 2 are the premier ways to play Apple Music. Most people will want to just connect their speakers to a computer or device and use Siri / AirPlay to queue up music.

If we go in a time machine back to 2015 - the situation was a little less clear, but using iPhone and Apple TV was still the best way to stream music over WiFi from many controllers.

(much of what follows is wrong and/or outdated, but were possible solutions at a past point in time)

Your iPhone is a first tier player in Apple Music. It would be better to just play the music on your phone rather than monkey with "remote". Send the music over the network to the PC rather than sending the remote commands over the network to the PC.

Remote options are:

Wait for Apple's remote to get updated for the hot newness
Get a VNC/RDC remote and control the PC (janky - but does 100% what the PC can do without needing anything else on the PC end) screen directly.
Third party remotes like Rowmote Pro (I say like since I have a handful of iPhone to Mac remotes - just can't recommend specific PC ones)

The iPhone can AirPlay to a PC quite easily with software on the PC such as AirFoil for Windows and you're set with Apple's full fledged iOS music controls but taking advantage of the PC to speaker connection you have already set up.

Depending on how the PC outputs to speakers, you could also add hardware ($5 to $65) to get the sound from either the PC or the iOS devices to the speakers. You don't need to do that as there are several workable software solutions.


How does Disk Utility wipe the disk it's executing on?

Disk Utility won't erase the partition from which your Mac boots.

Don't be confused by your ability to erase the boot "drive" while in Recovery mode. You are actually booting off a different partition on the same drive, one that is hidden, and this allows you to erase the boot partition.


MacBook Pro Lion + lavalier mic records nothing

The ATR3350 is not compatible with Macbook Pro. Nor is it compatible with iOS devices.
It's a turkey and I regret having bought it. The manufacturer is deliberately misleading people about this unit.


Bose docking station is not working with new ipod touch

Depending on the age of the docking station (is it a Wave?  If so, version 1 or 2?) it may not allow a full range of functions on newer/older iPods etc (depending on the combination - i.e. an old one will not work with new iPods fully, a new one should work with old iPods tho) - this is because they changed the pinouts on the dock connector as part of changing from Firewire to USB.  Basically all iPods used to be Firewire based, then when they became windows compatible they changed to USB, but the dock connector maintained pin options for both, regardless of what was at the other end.  Even with USB iPods, older docks would still allow power to be sent over the Firewire pins for charging the device (as it allowed higher currents, and thus faster charging) - eventually Apple removed this capability, meaning that the dock would appear not to be able to charge your device, but 3rd party hardware manufacturers were too slow to modify their products (even though they had been warned prior to the change to stop using Firewire connections).


Any way to "right-click->open" application using application launcher or AppleScript?

You could create an Automator service with a Run Shell Script action like this:

for f; do
  q=$(xattr -p com.apple.quarantine "$f" 2> /dev/null)
  if [[ $q ]]; then
    xattr -d com.apple.quarantine "$f"
    open "$f"
    xattr -w com.apple.quarantine "$q" "$f"
  else
    open "$f"
  fi
done

Set the input type to files or folders (just folders doesn't seem to include application bundles) and set "pass input" to "as arguments".

Or in Alfred 2 you could add a File Action trigger and connect it to a Run Script action like this:

f="{query}"
q=$(xattr -p com.apple.quarantine "$f" 2> /dev/null)
if [[ $q ]]; then
  xattr -d com.apple.quarantine "$f"
  open "$f"
  xattr -w com.apple.quarantine "$q" "$f"
else
  open "$f"
fi

If you want to keep Gatekeeper enabled but make it ignore some applications, just run something like xattr -d com.apple.quarantine /Applications/SomeApp.app.


How do I clear cookies from the Twitter app internal browser on iPhone?

I don't believe there is anything you can do sans uninstalling and reinstalling the Twitter app.   Each application that uses the WebView has its own cookie store.

A developer can programmatically remove cookies.  So the Twitter app would need to give you a way to clear cookies which I don't think it does.


Boot from different startup disk AND in safe or recovery mode

The rEFInd Boot Manager will allow you to select to boot from a recovery volume.

Use the following steps to install rEFInd.

Boot back to OS X 10.8.5.
Download  rEFInd.
Assuming you have downloaded rEFInd to your Downloads folder,  you can install rEFInd by entering the following commands in a Terminal application window.

cd ~/Downloads/refind-bin-0.11.4
sudo ./refind-install

Restart your Mac.
From options shown on the rEFInd menu, select to boot from a recover volume.

If you change the default so the Mac no longer boots to rEFInd, then following commands can be entered from OS X 10.8.5 to change the default back to rEFInd.

cd ~
mkdir efi
sudo mount -t msdos /dev/disk0s1 efi
sudo bless --mount efi --setBoot --file efi/EFI/refind/refind_x64.efi --shortform
sudo umount efi
rmdir efi

rEFInd can be removed by using the following commands.

cd ~
mkdir efi
sudo mount -t msdos /dev/disk0s1 efi
cd efi/EFI
rm -r refind tools
cd ~
sudo umount efi
rmdir efi


How can I read the log when I fail with VPN

Whether you choose L2TP over IPSec or PPTP for your settings, the log file is located at:

  /var/log/ppp.log

If you want use terminal to view your log file you can do following:

  vim /var/log/ppp.log

  tail -f /var/log/ppp.log       (if you
  want see end of file)

  less /var/log/ppp.log  (if your log
  file was huge and want to see page by
  page)


Syncing the documents and files from two accounts on one mac via iCloud

Looks like the approach does work. It just needed a little extra time to get started :)


Need help comparing the 13" 2016 MBP with the 15" 2015 MBP

This really gets down to personal preference and in that sense your question will invite people to express opinions, rather than providing an answer to a problem.

The best way for you (and I dare say anyone) to make a decision is to identify what are the most important requirements for your intended use. For example:

CPU - The 15" mid-2015 MacBook Pro has a 4 core processor, while the 13" late-2016 MacBook Pro only has a 2 core processor, so if processing power is critical the mid-2015 model is a better choice.
Battery - The 13" late-2016 MacBook Pro, by virtue of its smaller screen size, will run longer on battery than the 15" mid-2015 MacBook Pro, so if running on battery power is critical, the 13" model is a better choice.
RAM - The 13" late-2016 MacBook Pro you're considering has 8GB RAM, while the 15" mid-2015 MacBook Pro has 16GB RAM, so if the apps you run are memory hungry, then the mid-2015 model is a better choice.
Display - The 15" mid-2015 MacBook Pro has a 15" screen (obviously) which has a native resolution of 2880x1800 pixels, while the 13" late-2016 MacBook Pro only has a 13" screen 2560x1600 pixels, so if the amount of desktop real estate is critical the mid-2015 model is a better choice.
Weight - The 15" mid-2015 MacBook Pro weighs 2.04Kg while the 13" late-2016 MacBook Pro weighs 1.37Kg, so if you're going to be carrying it around a lot, then the 13" model is a better choice.
Ports - It's well documented that the 13" late-2016 MacBook Pro has four USB-C ports and a 3.5mm headphone jack. The mid-2015 model on the other hand has two USB 3.0 ports, two Thunderbolt 2 ports, an HDMI port, an audio in/out port, and an SDXC card slot. Only you can decide which one is a better choice for the next three years!

You get the idea. Basically you need to decide your most important requirements and then do a comparison based on that.


iPod Touch 4gen internet connection issues

I have made this solution:

Open Settings
Open General
Open Reset
Reset Network Settings

This process helped me.


Mac won't boot from USB drive: Prohibited sign

It may be that boot-up from the USB flash drive is "prohibited" because your USB flash drive requires adjustment to the "ownership" settings. I learned this the hard way myself. Most of the guides, including Apple's own support doc on how to create a bootable Mac OS installer on USB — as of this date — fail to mention the ownership step.
First and foremost, the USB flash drive must support ownership functionality. Complicating matters, the USB flash drive default may disable boot support. For this reason, you will need to enable it before/after completing the process described by Apple, MacWorld and others using the "createinstallmedia" command in the Terminal window.
The "missing step", after ensuring the USB flash drive is formatted correctly, is to ignore ownership

Mounting the USB flash drive on the desktop, right click and select "Get Info"
In the info window, expand the Sharing & Permissions: section.
Click the padlock icon to unlock administrator options <img src="https://i.stack.imgur.com/xcwz7.png" alt="padlock
icon" />.
Enter your administrative password.
Deselect the check box ignore ownership
Click the padlock to save the changes.
Eject the drive if you're ready to remove the USB Drive and install

On the machine you wish to install on, you can hold down the Option (ALT) key to select the boot drive, select your installer. If you can't see it, reset the PRAM and try again. If you still can't boot from the USB flash drive, verify that you created the Mac OS installer on the USB flash drive while working in the same (or as close to) current Mac OS as you intend to write to the USB flash drive. Some users have problems creating a successful bootable USB flash drive because they attempt to follow Apple's instructions on older versions of Mac OS X that require Disk Utility, not the Terminal window "createinstallmedia" command, to create a bootable USB flash drive. If all else fails, try a different name-brand flash drive of at least 8 gigabytes or greater in size. (Do keep in mind that there are a lot of counterfeits sold by third parties on Ebay and Amazon so it's equally important to buy your USB flash drive new from a reputable source.)
The most thorough guide I have found on the topic of creating a bootable Mac OS installer on a USB flash drive is here:
https://www.lifewire.com/create-emergency-os-x-boot-device-2260173


What Could Cause the Ethernet to not Connect to Internet, Yet Connect to Devices on Network

I don't have enough reputation yet to add comments above, so I'll put my questions here:

How does your MBP get the IP address for its ethernet interface?  DHCP?  Manually?
What is your default router set to (netstat -rn)?
Can you resolve, say, google.com (nslookup www.google.com)?
Can you ping any/all the servers mentioned in /etc/resolv.conf?

That should help to debug.

Thanks.


MacBook Pro won't power on after SMC reset

Your problem is likely a hardware problem, and is probably a short. Unless you disassembled the computer before using the rice method, it probably didn't help and you just ended up with a bunch of rice in the trash can. Also (and this is general advice for everyone), the first thing you should do in a situation like this is IMMEDIATELY disconnect all power to the computer, including removing the battery. Failure to do this will keep power going to the machine and dramatically increase the likelihood of a short.

Hardware failures do not necessarily happen all at once, and may not show up for a day or more. It sounds like this is what has probably happened to you. At the risk of being the bearer of more bad news by adding insult to injury, this type of damage also is not covered by Apple Care. Sorry you have to deal with this; best of luck to you in getting your machine back in order!


Toggle "Use all F1, F2 as standard keys" via script

tell application "System Preferences"
    reveal anchor "keyboardTab" of pane "com.apple.preference.keyboard"
end tell
tell application "System Events" to tell process "System Preferences"
    click checkbox 1 of tab group 1 of window 1
end tell
quit application "System Preferences"

You could also use defaults write -g com.apple.keyboard.fnState -bool true, but I don't know any way to apply the changes without logging out and back in again.


Is there any app to add a keyboard shortcut to a mouse click on a specific location?

Try the TAB + Enter key.
The TAB key should move the cursor to next question, the enter key should answer it.

Setting it up with 1-8 requires more doing, and you need to tell us what program are you using.


How do you get the angle of the lid from the CLI?

There is no easy way to do this from within the computer (you could always measure it of course). The hardware on laptops only needs to know whether the lid is closed or not, so a simple on/off switch is enough and built-in.

There are (at least) two threads on reddit where apparently the tilt level seems to control audio volume:

https://www.reddit.com/r/ProgrammerHumor/comments/6fek1m/hope_you_dont_mind_having_the_volume_turned_up/
https://www.reddit.com/r/ProgrammerHumor/comments/6fowct/lid_controlled_volume_mac_edition/

The first one is quite obviously a fake, the second one claims

  You're right! I used the ambient light sensor values to calculate the percentage

So while there isn't a way to get the angle directly, it can be calculated/approximated using other sensors.


Reposition Spotlight search bar to its default location in macOS Mojave

Starting with OS X El Capitan 10.11, it became possible to freely drag and move around Spotlight search bar.

To reposition it to its original location, simply tap and hold on the Spotlight search button in the Menu bar (shown towards right) for a couple seconds. This should do the trick!


You can move the emails to a 'mailbox' which is only on your Mac.   The instructions here assume you have the latest version of macOS and Apple Mail, but older versions are much the same.

In Mail's sidebar on the left you should see "On My Mac". With the
mouse, hover, click on the disclosure triangle to show the mailboxes
(folders) inside "On My Mac".

Create a new mailbox (folder) by clicking on the + symbol.  You may
want to create multiple mailboxes to keep your emails organised. You
can even create a tree structure if you want.

Then just drag and drop (with the Command key pressed) your old
business emails from the external mailboxes into your new mailboxes
within "On My Mac". The command key ensures that you do a copy (not a
move) as you probably don't yet want to delete them from the external
service.

Alternatively use 'Copy to' from the Message menu.

You can now disconnect from the old mail services.

The emails will be indexed (it will take a little) and be available to Mail's search.
Because the emails are now stored just on your Mac, you become responsible for ensuring your backups are sound.


This is now fixed in the latest Safari update, 14.0.3.
More information here https://macintouch.com/community/index.php?threads/problems-with-safari-14-0-2.2926/
And here: https://mrmacintosh.com/security-updates-2020-001-for-catalina-2020-007-mojave-safari-14-0-2/


Instead of ssh-add, use

ssh-add -A

This uses the Keychain to find the passphrase, and since your Keychain should be unlocked because you're logged in, you won't be prompted.

(Sierra drastically changed how ssh keys are handled by the OS. The dialog is no more.)


Is it possible to use old RAM on new MacBook?

I'll make it quick for you : MacBook Pro and MacBook Air have the ram now soldered to the main board.

You won't be able to upgrade the ram on the new MacBooks.


Putting in place PLC between time capsule and airport base station?

Yes, assuming the express (and the PLC link) is in bridge mode, you will have one network so AirPlay, AirPrint and Bonjour will work like you have one router and everyone is in range or plugged in to the ethernet.

You can use the same SSID on both wireless networks, but then you can't choose which network you are joining if you start on one and the connection is simply better.

The big downside of PLC or ethernet link is you don't get automatic switching of the base stations if a device starts on the main and doesn't leave the signal range. You can remedy this by reducing the transmit power on the main station to ensure that by the time you get to the bedroom, the existing link is lost and the device has to join the express.

Making two SSID networks allows you to know which base station you connect - not leaving it to the software to determine based on a short measurement of the two signal strengths when you "join" the network.

Whether you have one SSID or two, I would recommend selecting different channels for both transmitters as far apart as practical or consider reducing the transmit power on one if you find bad interference in between the two wireless transmitters.

Use the logs and statistics graphs in Airport Utility to see the transmit speeds and which base station your devices are connected when you choose where to place the devices and what channels to use.


How does Apple's Power Nap interact with File Vault?

In general, Apple disables FireWire DMA in states where the computer isn't unlocked for use. There were some states they missed early on (see Todd Garrison's description of the problem), but they tightened the access controls in 10.7.2 (see CVE-2011-3215 here).

Power nap adds a new DMA-should-be-disabled state, so there's a possibility that it might have reintroduced this vulnerability, but I would expect Apple to have handled this correctly. Unfortunately, I don't know of anyone who's actually tested it (and I don't have a power-nap-capable Mac myself).


What stylus is good for taking notes and writing equation

If you want something that is significantly better than the Adobe Ink, you'll need to go for an iPad Pro with an Apple Pencil. The combination of higher display refresh rates on the iPad Pro and the higher rate of stylus updates from the pen itself - it's really much, much better.

I use the Apple Pencil to write mathematics and draw diagrams/graphs, and it works well for me. However YMMV so be sure to go to a local Apple vendor and try it out before buying.


No image on TV when connected using HDMI cable to MacBook pro when booted in bootcamp

I got it to work, I'm not sure exactly what I did in what order, but based on my Firefox download history, I think this is what I did.

First I downloaded and intalled version 285.62 (285.62-notebook-win7-winvista-64bit-international-whql.exe). This version gave me the symptoms described in the question.

I then uninstalled all NVidia drivers, which I assumed rolled the driver back to the Bootcamp driver version.

I then downloaded and installed driver verion 260.99 (260.99_notebook_winvista_win7_64bit_international_whql.exe). Now the HDMI output works in my Bootcamp installation.


How to open applications in fullscreen via Terminal

How can I keep Terminal in foreground while the other apps are being open?

Use the -g or --background flag to open:

 -g  Do not bring the application to the foreground.

for example:

open -g -a Notes

will open Notes.app in the background.

Unfortunately not all apps appear to respect this. For those apps you may need to hide them manually using AppleScript:

osascript -e 'tell application "System Events" to set visible of process "FOO" to false'

where FOO is the name of the app.

p.s. - instead of $(whoami) you can use $LOGNAME


How do I determine what is waking my machine up?

You can find a lot of information in the system log.

Open the Console utility and this will allow you to easily search the system log for "sleep" and "wake".

The information is not easy to understand but if you do find some lines in the system log you can't understand feel free to update your question.

EHC1 is usually something to do with a USB device. Do you have an external drive attached to the machine? Is it powered via USB?


Is there any downside to buying the Apple TV 3rd generation rather than the 3rd Generation Rev A?

Rev A can perform peer-to-peer Airplay wireless streaming. Source: http://support.apple.com/en-us/HT4437


The answer above is for Microsoft office in Windows. Not mac OS. I’ve looked up many articles across the web, and it seems check spelling before sending in Outlook for Mac is not available. It is available in the native mail application in Mac OS… Preferences compose check before sending.


Why do I have a calendar called weather? And has nothing to do with anything

It is a app from MetService (MetService NZ Weather) on App Store, that you must have downloaded.


How to 'linkify' plain text URLs (locally) on the Mac?

To convert multiple plain text URLs to hyperlinks in a rich text file in TextEdit, you must apply an action.

After pasting the text, go to Edit > Substitutions > Show Substitutions, making sure 'Smart Links' is ticked, and either select the text and use 'Replace in Selection' or use 'Replace All' to apply to whole document itself:

EXAMPLE:

I pasted same text twice for demonstration.

After pasting I selected the second paragraph (only for demonstration) and used the Smart Links - Replace in Selection:


Copy to external HDD fails if copy dialog is in background

I think your hunch is correct. You seem to have run into a problem with App Nap. To save energy, a background task with no visible UI gets throttled down and eventually stopped. Each time you bring the dialog to the front, it has a "visible UI" and gets a new lease on life.

Depending on which app is doing the copying, you might be able to disable App Nap for that application. Get Info on the app, and put a checkmark in front of "Disable App Nap". You can't do that with Finder, though, because Finder's Get Info window doesn't show that checkbox.

You might try disabling App Nap system-wide. To do that, go to Terminal and enter the command:

defaults write NSGlobalDomain NSAppSleepDisabled -bool YES

Well, not quite system-wide. Only within your account. Repeat while logged in as each user that you want App Nap disabled for.

Bear in mind that disabling App Nap may make your computer consume more energy. If it's a portable, that means shorter battery life. But no worse than the way things were before the App Nap feature was introduced in Mavericks.


How to sync iPhone photo albums to iPhoto

That is a good question! The answer, as far as I can tell, is: You can't!

The whole system of syncing the Photos app and iPhoto among your devices, and between each other, seems to be a work in progress. I could go on about all the issues, but the short answer is, you can't do it right now.


there seem to be a lot of questions around disk images, esp. sparse bundles and none of the answers I found here provide easy solutions.
You seem to have a few problems, I can help you with the first one (I ran into the same problem myself):

  Reclaimed 0 bytes out of 265.2 GB possible

Mount the image
Note the path to the mounted Volume, i.e. /Volumes/VolumeName
in Terminal type:

  diskutil secureErase freespace 0 /Volumes/VolumeName

For this step to succeed, there must be enough space left on the main Volume where the sparse image lives (I found roughly the space reclaimable plus a few GB to be a reliable rule of thumb.)

Then you can unmount the image and compaction should succeed.

freespace 0 fills the empty space with zeroes, all other options of diskutil secureErase freespace write random garbage to disk so other files are not recoverable.

The rest of the commands should work fine now, at least for me they did...

I realise this question is old and you most likely have moved on, but maybe it's a help to someone...


How do I transfer photos from my iPhone to my computer without using iCloud?

OK I found out the problem! You have to have a photo on the phone for it to even appear in Windows Explorer! I was testing out a new cable to see if it worked and the phone didn't show up (but did iTunes sync). So I switched back to the old cable I knew worked and it still wouldn't show up and got me worried! I took a screenshot to generate a photo and now it shows up in Explorer. This was not obvious at all.


Would erase content and settings affect phone number?

No, your phone number will not be affected.


Switching between windows doesn't work in some apps

Places to check for things intercepting the keystroke:

Browser Extensions: Perhaps the same extension on both browsers
Macro App: TextExpander or Keyboard Maestro, for example
Services Shortcut: In the Chrome or Firefox menu choose Services then Services Preferences.... Scroll to the Internet section and see if anything is set up to use the Cmd` shortcut.
Application Shortcuts: In that same dialog (or choose Keyboard in the System Preferences click Application Shortcuts in the left pane and see if there are any custom shortcuts for Chrome and Firefox that use that combination.


Without a recovery partition and (for whatever reason) your Internet Recovery just won't work, you are down to about 3 options to get OS X installed:
Option 1:  Install (or Recovery) at an Apple Store
If you are close to an Apple Store you can go into one and download the latest OS (if you have a working Mac) or run Internet Recovery using the Apple Network.
Note: Internet Recovery will only install the last version you had, it won't upgrade.  For example, if you had Mavericks before and want to go to El Capitan, you will have to recover to Mavericks then download the El Capitan Installer.
Option 2:  Download and Make a USB Installer
This involves using another Mac from a friend, family member or acquaintance.   You will need an 8GB flash drive.  There are many guides on how to create the USB installer so I won't belabor that point here, but the command you will need to execute in Terminal is as follows:
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/<USB Volume> --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction

Where <USB Volume> is the name of your USB Flash Drive (don't use spaces - it makes it easier)
After about 10 minutes you will have a USB Flash drive to install OS X on your Mac.
Option 3:  Acquire a premade USB Drive
This is not an official recommendation but sometimes when you are in a pinch and Options 1 and 2 are simply not feasible, it's nice to know that there's another option.  You can find these on eBay.  I have used this option  before when I had to restore a Macbook, Internet speed was slightly above dial up and the closest Apple store was in the next State.
Just make sure you you deal with a reputable US based seller with good feedback.  If the seller is too new or feedback to low, look elsewhere even if the price is good.


Are CPU and GPU embedded on the logic board?

As you can see on the image below, the CPU (red border) and the GPU (orange and yellow border) are wave soldiered onto the logic board and they will be replaced together.

BUT, you should know this kind of replacements are extremely expensive. Prices goes up to $1,000 so in most cases it's better to buy a new Mac. It's not uncommon to find "older" refurbished Macs at similar prices to logic board replacements.

You Mac is almost 3 years old and if I were you, I wouldn't do the repair and just go for a new Mac.


Due to application sandboxing in iOS, which restricts applications to just their individually allocated areas on the filesystem (and prevents access to any other application's or the OS' files as well as memory, network communication, etc.), an app written to be like an antivirus cannot really read anything outside of its own sandbox.

Due to limited multitasking in iOS, an app written to be like an antivirus cannot really run in the background for a long time to scan the system continuously.

Both these factors together make it impossible to make an antivirus like app for iOS unless the device is jailbroken.

Any antivirus, if at all deemed necessary, would have to be made by Apple. Third party app developers are limited to the restrictions mentioned above.

Further to the comments on the question, it may be worth one's while to look at this presentation titled "The Android vs. Apple iOS Security Showdown - July 2012" (especially slides #20 through #33).


Executables in /bin and /usr/bin are not found in path

Terminal.app correctly starting the shell does’t mean much: it runs /usr/bin/login (with the full path) by default, which invokes your default shell (again: defined with a full path) as an interactive login shell (which  will in turn read both .profile and .bashrc and leave you with a working $PATH). Your problem is non-interactive shells, which do neither, do not get any $PATH settings. That seems to point to OS X’ default path settings having somehow been clobbered.

To check this, run cat /etc/paths. The output should (at the very least) be

/usr/bin
/bin
/usr/sbin
/sbin

(these are the defaults on a pristine OS X install). If the first two are missing, you have your cause – and an easy solution:

mv /etc/paths /etc/paths.old # if you want to keep the current contents
def_paths=(/usr/bin /bin /usr/sbin /sbin)
for p in ${def_paths[@]}; do echo $p >> /etc/paths; done
cat /etc/paths.old >> /etc/paths # append previous contents

Note that as /etc/paths is owned by root, you will have to sudo su for this to work.


What are the default settings for "Remote Management" under Sharing System Preference pane in macOS?

I have never enabled Remote Management on my Mac and these are the options corresponding to the default selection All users:


Get french accent on Linux terminal connected via ssh from MacOS High Sierra

SOLUTION : uncomment in /etc/ssh/sshd_config :

# Allow client to pass locale environment variables
#AcceptEnv LANG LC_*

(made community wiki; credit to OP)


How to see Contact Duplicates in Mac OS El Captian

I don't think there's a window to approve changes anymore (Contacts v9 on OS X 10.11), so you would need to parse a contact export or track the changes with a different tool than the contacts app. I just export the contacts database to a file on the desktop. Do the merge and see if it's what I wanted.

If not, restore from the backup or undo the merge.

The only thing to be aware of is checking whether you have zero, one or more than one cloud backed contact syncs - when the same contact is in two containers - the merging combines the data but preserves the each entry in each sync class.

Also, I make sure I'm connected to the internet when I make (potentially) large changes so that the contacts app can accurately feed my changes to the cloud sync.


Other options are installing XBMC or Plex, and having much more control over your Apple TV - you can then play any media format, more easily access data from your other computers, access the full internet (as you pointed out) and find lots of different plugins for a range of different things.

If you are interested, you can check out this article on Lifehacker about jailbreaking and installing XBMC - it's really a very straightforward process.

If you'd like to have a play around, you can also download XBMX and Plex for your Mac or PC to see what they are all about. Good luck.


How can you find which monitor has the menu bar in AppleScript?

UPDATE

Removed my original answer.  Here is a completely different approach which I prefer over my original solution.  This version actually uses “Image Events” scripting addition.

This script will get the names of the displays connected to your computer.  The returned values of “display "Display 1" will always be “which monitor has the menu bar in AppleScript?”

property activeDesktop : missing value
property activeDesktopResolution : missing value

set displayNames to {}

tell application "Image Events"
    set theDisplays to displays
    repeat with i from 1 to number of items in theDisplays
        set this_item to item i of theDisplays
        set theName to name of display profile of item i of theDisplays
        set end of displayNames to theName
        set activeDesktop to item 1 of displayNames
    end repeat
end tell

tell application "Finder"
    set activeDesktopResolution to bounds of window of desktop
    set activeDesktopResolution to items 3 thru 4 of activeDesktopResolution
end tell

set theResultz to display dialog activeDesktop & "  " & item 1 of activeDesktopResolution & " x " & item 2 of activeDesktopResolution ¬
    buttons ¬
    "OK" with title ¬
    "Your Current Display and Its Resolution" with icon 1 ¬
    giving up after 10


Enable wifi hotspot on Macbook Pro Mid 2014

You must select ethernet in the "share your connection from"
after you must select Wi-fi in "To computers using"


Will Lion download from Mac App Store resume if network connection interrupted?

App applications downloaded from the App Store will automatically resume if your network service is interrupted. The Lion download is a DVD sized .dmg file that contains the OS, not a pre-loader.

If your download does get interrupted you can control + click on the Lion icon in your dock then click resume.


OS X: Is there an open source screen recorder?

You've answered your own question, but I thought I would flesh it out a bit.

You are correct that QuickTime will record a window, or the whole screen, but it only does so with the version of QT that ships with Lion. It wasn't available in earlier versions of QT or OS X (I'm not sure if the latest QT would do this on an older OS - I don't have one to try it on.)

I was pleasantly surprised to see that it now had that functionality - there really aren't any other free or low cost options.


save mysql backup to afp network drive fails as cron job

Found the solution: The problem was, that the mysqldump command could not be find. I needed to add the absolute path to it /Applications/MySQLWorkbench.app/Contents/MacOS/mysqldump

Thanks to patrix and Allan for that tip.


In Mac, you should be able to delete the /etc/ssh/ssh_host_* too and run ssh-keygen -A, which will generate the missing keys.


I puchased a new iMac and there is one entry in my contacts app that no longer works with Messages

I found the answer from bmike. It is given here and here. In words the method to solve the problem is:
From you iphone:

Open Settings.
Scroll down to Messages
Tap on 'Message Forwarding'.
Ensure that all the devices are selected.


How to activate Recoverit when 'csrutil' doesn't *on macbk pro 10.13.6

To disable SIP, you need to run csrutil from the Recovery OS, which you can boot into by holding cmd-r while turning Mac on until the Apple logo shows (Terminal can be accessed in the Utilities menu).


Why does creating a new account and making it an administrator require system restart?

This only applies when changing the administrator status of an account after creation. When creating a new account as an administrator, the message is not shown. The OS doesn't keep track of whether or not the account has been logged in before, so changing the account type of an existing account asks you to restart in order for it to take effect.


How do I get the location of a locked file in Preview?

It's not the best way, but it works:

Open Terminal.app, type dirname (with space),
drug file into Terminal.app, and you'll see full escaped path of file (with \ symbols if there're some spaces around).
Press Enter and this command prints full path without escapes, copy this output (with ⌘Cmd-C)
with Finder.app type ⌘Cmd-Shift-G to open this directory.

PS: To drug file into Terminal you can drug this small icon on the window frame


Yes, and also trust that having the sources in the open and others using it, you don't need to be the first person to catch a bad act. The traceability of who checks in what hopefully is a deterrent to casual maliciousness.

You of course are more secure to not automate installs of unsigned software from the internet.


Shuttle like app but for running any command

Actually with Shuttle you can run any terminal command. Just write the desired command instead of the ssh command.


Is there a way to display the date in power reserve mode on the Apple Watch Series 2?

Power Reserve mode disables all the 'smart' features of the Apple Watch and only displays the time.  This is by design and can't be changed

If you're in Power Reserve mode, that means you don't want to display anything that could possibly increase the power usage.  The date is one of those fields.


VM size in Activity Monitor: hundreds of GB?

They are virtual and cost nothing to make.  The VM hands out space to each program that asks for any but leaves tons of room to grow between each real allocation. These virtual addresses get mapped into the real RAM space as needed and mapped out when they are freed or otherwise inactive. They can even get paged to your storage if needed.

You can reboot to convince yourself it starts back at zero. This is expected that it grows over time and not a bug. The real query is what apps are requesting all that data and if you don't mind looking at files in the terminal sudo sysdiagnose is a great tool to dive deeper into virtual and real memory allocation.


Can't open DV video (dvsd) AVI file with QuickTime

QuickTime doesn't accept 'plug-in codecs' any more, not since QuickTime 7.

There used to be a plug-in set by the name of Perian, which was the Swiss army knife for QuickTime, but it no longer works.

Your best bet would be to transcode from VLC or any of the other encoding apps available, if you specifically need it in QuickTime.

I always think of .AVI as being very much a 'Windows' structure [even if that's not strictly true], so I've avoided it on Mac for many years, or immediately transcode to something more portable.


GitSupport.sh permanently running, apparently hangs

I had the same problem, in my case it was caused by the Right Click Booster app.

com.HobbyistSoftware.RightClick.RCPlugin/GitSupport.sh


Can one Mac boot up to several OS X installation?

You can definitely have any number of OS X installs on any number of partitions. Use the Startup Disk preference pane or hold down Option at boot to choose which partition to boot.


I can't shrink my OS X Yosemite partition

Essentially you have a CoreStorage Volume Group instead of an old-style partition scheme. You shouldn't use Disk Utility to modify the CSVG.

To shrink your CoreStorage Volume Group to get some unallocated space to install Linux or EFI-Windows just use an undocumented diskutil command:

diskutil cs resizeStack LVUUID size

The command expands or shrinks the whole CoreStorage Volume Group including the physical volume(s), the logical volume family and the logical volume in one step to the desired size.

Beware: The command is vastly undocumented and as such potentially destructive.

Preparation:

Backup your data.
Detach any external drive (especially your external Time Machine backup drive).
Restart to Internet Recovery Mode by pressing alt cmd R at startup.
The prerequisites are the latest firmware update installed, either ethernet or WLAN (WPA/WPA2) and a router with DHCP activated.
On a 50 Mbps-line it takes about 4 min (presenting a small animated globe) to boot to a recovery netboot image which usually is loaded from an apple/akamai server.

I recommend ethernet because it's more reliable. If you are restricted to WIFI and the boot process fails, just restart your Mac until you succeed booting.

Alternatively you may start from a bootable installer thumb drive (Mavericks or Yosemite) or a thumb drive containing a full system (Mavericks or Yosemite). The disk identifiers may differ then. So check the human readable names and sizes and change the commands below accordingly.

Get an overview:

Open in the menubar Utilities/Terminal

First you should get an overview of your disks and the partition layout:
Enter diskutil list
Example listing (but I took the list provided by you in your question and included the netboot device):

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *250.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage Macintosh HD            249.1 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.1 MB   disk0s3

/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     Apple_partition_scheme                         *1.3 GB    disk1
   1:        Apple_partition_map                         30.7 KB    disk1s1
   2:                  Apple_HFS OS X Base System        *1.3 GB    disk1s2
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           *249.1 GB   disk2

/dev/disk3-disk13 ...belong to the OS X Base System (your recovery system you booted to previously)

Disk0 is your main internal disk device (SSD) containing an EFI-partition (dis0s1), one CoreStorage partition (disk0s2) and Boot OS X (disk0s3).

Disk1 is a logical disk created by booting to the netboot image which contains a recovery system (OS X Base System = disk1s2) similar to the Recovery HD.

Disk2 is also a logical disk residing in disk0s2 and it contains the CoreStorage stack.
Enter diskutil cs list
Example listing:

CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 57932797-4AC8-4475-9836-82394CEBF536
    =========================================================
    Name:         LogicalVolumeGroup
    Status:       Online
    Size:         249150200320 B (249.1 GB)
    Free Space:   353689600 B (353.7 MB)
    |
    +-< Physical Volume 68F90B2B-4004-4044-AFFB-9D3854006D2A
    |   ----------------------------------------------------
    |   Index:    0
    |   Disk:     disk0s2
    |   Status:   Online
    |   Size:     249183200320 B (249.1 GB)
    |
    +-> Logical Volume Family 9B947A52-7496-46CA-BFA5-A87DD47249FE
        ----------------------------------------------------------
        Encryption Status:       Unlocked
        Encryption Type:         None
        Conversion Status:       NoConversion
        Conversion Direction:    -none-
        Has Encrypted Extents:   No
        Fully Secure:            No
        Passphrase Required:     No
        |
        +-> Logical Volume 86417B41-6400-4F81-8F7C-43AA243CDAEE
            ---------------------------------------------------
            Disk:                  disk2
            Status:                Online
            Size (Total):          249001915136 B (249.0 GB)
            Conversion Progress:   -none-
            Revertible:            No
            LV Name:               Macintosh HD
            Volume Name:           Macintosh HD
            Content Hint:          Apple_HFS

Modify CoreStorage stack:

Resize the CoreStorage volume with

diskutil cs resizeStack LVUUID size

with LVUUID: UUID of the logical volume and size: the final size of your CoreStorage volume.

Examples:

diskutil cs resizeStack 86417B41-6400-4F81-8F7C-43AA243CDAEE 200g

to shrink it to 200 GB

diskutil cs resizeStack 86417B41-6400-4F81-8F7C-43AA243CDAEE 100000m

to shrink it to 100,000 MB (=100 GB)

diskutil cs resizeStack 86417B41-6400-4F81-8F7C-43AA243CDAEE 0g

to expand it to the full available size (0g is a magic number here).

Your Recovery HD should be moved automatically - regardless of whether shrinking or expanding the CS volume - to the very end of it (right after the CoreStorage volume).
Enter exit and quit Terminal.
Open Disk Utility and check your shrinked CoreStorage volume for errors.
Quit Disk Utility.
Reboot to your main volume.
Now you have ~(250 GB - size) GB of unallocated space and may install Linux.

P.S. I recommend to revert to the old-style partition scheme before installing Linux with Grub/rEFInd. You need a full Time Machine backup of your main volume though.

Delete CoreStorage stack:

To revert to the old-style volume delete the Logical Volume Group instead of modifying the CoreStorage stack:

Enter diskutil cs delete LVGUUID with LVGUUID = UUID of the Logical Volume Group found in one of the previous steps. Quit Terminal.
Open Disk Utility and partition the SSD. Quit Disk Utility.
Open Restore From Time Machine Backup and restore your data.


How do I disable Microsoft Outlook 2010 calendar notifications?

I believe this is what you are looking for:

Go to the menu item Outlook -> Turn Off Office Reminders


How to tell which iPhone app eats bandwidth?

If your router doesn't have a way to log bandwidth usage, your best bet would be to run every suspect app on its own.

By that, I mean you should go into the App Switcher (double-press the Home button) and swipe upwards on all of the apps in that list. That kills all of the apps, so the only ones that'll be running are the ones you open afterwards. Kill all of the apps, then let one run and see if it has any effect on your wifi.

Not a great solution, I know, but to my knowledge, there isn't an easy way to figure out your problem.


WDF VIOLATION Blue Screen after Upgrading Mac to Windows 10 May 2019 Update (1903) Edition

Note: I have tested the Windows 10 November 2019 Update (1909) Edition and so far this problem has not occurred. Also, after installing the Window Support Software, the Apple Software Update application provided a download of a "Boot Camp Update Version 6.1.9".

I found a solution which involves using a newer version of the BootCamp.msi file. I did this by downloading the Windows Support Software on a iMac (21.5-inch, Late 2013). Since not everyone reading this will have a newer model Mac, I have provided a alternate method for retrieving this file. This method was derived from Chris F Carroll's answer to the question: How to download Bootcamp drivers without Bootcamp assistant? The nice thing about this answer is the Window Support Software is downloaded directly from Apple without the use of any third part tools.

The Windows Support Software for the iMac (21.5-inch, Late 2013) can be downloaded by following the steps given below.

Click on this link to download the BootCampESD.pkg file directly from Apple.

  Note: If this link is broken, then post a comment and I will try to update the link.

Double click on the  BootCampESD.pkg file in the Finder application to start the "BootCampESD Installer".
Follow the instructions. This will save the WindowsSupport.dmg file to the /Library/Application Support/BootCamp folder.
Double click on the WindowsSupport.dmg file in the Finder application to mount the disk image. The volume label will be Boot Camp.
Use to Finder application to locate the BootCamp.msi file in the BootCamp/Drivers/Apple folder of the device labeled Boot Camp. This is the Windows installer for Boot Camp Version 6.0 (Build 6136).

Below are two methods for solving the problem. I tried both and decided I preferred Method 2. Here a assume you have already used the Boot Camp Assistant on the iMac (21.5-inch, Mid 2011) to download the Windows Support Software to a flash drive.

Method 1: Replace the existing BootCamp.msi file.

Replace BootCamp.msi file in the BootCamp/Drivers/Apple folder on the flash drive with the new file. After the Windows installation completes, install the Boot Support Software by executing the setup application in the BootCamp folder on the flash drive. In some cases, this application may start automatically.

I do not think this method resulted in all the drivers being installed. However the missing drivers where downloaded and installed after running "Windows Update" and "Apple Software Update".

Method 2: Upgrade Boot Camp immediately after installing the Windows Support Software.

Copy the new BootCamp.msi file to the root folder on the flash drive. After the Windows installation completes, install the Boot Support Software by executing the setup application in the BootCamp folder on the flash drive. In some cases, this application may start automatically. You should first first encounter the window shown below. Follow the instructions to install the software.

After the Windows Support Software finishing installing, you will get the window shown below. Click on the "Finish" button.

If you get the popup window shown below, click on the "No" button.

Next, open a "Administrator: Command Prompt" window and enter the command given below.  Here, the assumption is made that the flash drive has been assign the drive letter D. If your flash drive has been assigned a different drive letter, then make the appropriate substitution.

D:\BootCamp.msi

You should encounter the window shown below. Follow the instructions to install the software.

When the popup window below appears, click on the "OK" button.

After the Windows Boot Camp Installer finishes, you will get the window shown below. Click on the "Finish" button.

If you get the popup window shown below, click on the "Yes" button. Otherwise, manual restart the Mac.

  Note: If you are in audit mode, do not use the "System Preparation Tool" to restart.

Final Notes

When first executing "Apple Software Update" you may be asked to update "Apple Software Update" itself. If you happens, you should uncheck all other updates and just update "Apple Software Update". Otherwise, you may get an error message saying another update can not be installed. I my case, there were two updates of the "Apple Software Update" to download and install.
You may wonder why not use a more current Boot Camp Installer. I did
try the BootCamp.msi that comes with the Windows Support Software
for the iMac (21.5-inch, 2019). This is the Windows Boot Camp
installer for Version 6.1 (Build 7438). I found this version to be
missing the ability to adjust the screen brightness. If you want to
try this version, then click on this link to download the
BootCampESD.pkg file directly from Apple.

  Note: You can upgrade from Version 5.1 to either 6.0 or 6.1. However, you can not upgrade from 6.0 to 6.1.


What does "'Copy Job' would like to control this computer using accessibility features" mean?

There is a post on Dave Nanian's (the author of SuperDuper!) blog at http://www.shirt-pocket.com/blog/index.php/shadedgrey/comments/mavericks/ which explains this issue:

As you may know, our scheduling feature runs a little application called "Copy Job" behind the scenes...
For some reason, in Mavericks, this check (and a second one that checks whether Growl is running) now generates a scary security warning...
We've found a way around this prompt, but it requires that you delete and recreate your existing schedules...


Keyboard shortcut mapping for Ctrl+Alt+Del in Parallels

I did not find an answer to the base question, but I did locate a sufficiently good workaround.  Karabiner offers finer-grained control of keys than OSX's keyboard settings, including the ability to add exceptions to key switching.  I used these settings:

Karabiner -> Change Key
    Change Command_L Key -> Command_L to Control_L (except Virtual Machine, RDC)
    Change Control_L Key -> Control_L to Command_L (except Virtual Machine, RDC)

Now all of the Ctrl keyboard shortcuts I am accustomed to work in both OSX and my VMs.


All keychain files on the system get backed up to Time Machine.

They are of course each encrypted by different keys for different users so once you restore them, you may or may not be able to get into them as long as you remember the appropriate passwords. Do note that when you reset the password of an account using admin tools (or bringing the keychain to a different OS) - the keychain password is preserved to protect the contents. You really need to use the original password to unlock the files.

I've had no issues backing up Xcode and Xcode server using Time Machine. I would also use the Xcode preferences account pane to explicitly export your developer keys and accounts and store them on USB media and/or burn to DVD and store them offsite in a bank vault/cloud storage/whatever to keep those keys secure and available even if you lose your office due to a flood or fire.


Can I share photos to Facebook without downloading my contacts?

Yes. You can turn this setting off in: Settings > Facebook > Contacts On/Off


organize pictures into destination folders automatically based on date

You can use Hazel (http://www.noodlesoft.com/hazel.php) to organise and file your photos.

In Hazel you can create rules to act on files, these rules can be based on for example file metadata or EXIF information.
The rule actions can create new folders and subfolders from these attributes and copy the files into the right location (it can also handle file name conflicts).

I found an example to set this one up on dpreview. (In step 4.c you specify that it should only work with pictures, it will ignore the videos).

The only thing you might need to do is to copy the files from the current folders into the folder where the Hazel rule will trigger.


Is there a way to show the release dates of System software updates?

If you are running a software update service on OS X Server, you can see when Apple released each update (and also when the server actually downloaded the file). This is also nice as then you can then only mark an update as viable to your machines once you have had a chance to review things.

Also, for a more lightweight solution, you can look at the downloads web site to determine when a particular package was released.


How to I enable point-and-hold on iPhone5/iOS7 for atomic web?

I downloaded the app to test what you were taking about, and I can confirm the issue. They last updated the app on November 20, 2012, so this is most likely a bug that will need to be fixed by them. You can try to contact them at atomicbrowser@gmail.com about the issue.


iPad Air - How to type exclamation point from the exclamation/comma key

Press ⇧,

Press the ⇧ shift key, then press the , comma key, which will insert a !.

This also works for the question mark above the .


How to switch off the GPS (but not disable location tracking) on an iPhone?

It can't be done.  It really depends on the application that is requesting your location.  App Developers, when requesting the device's location, can choose how accurate of a location they need.  If they decide they need less accuracy, then iOS will only fire up WiFi or use GSM to determine the approximate location.  If the developer decides they need very specific location, then the phone will fire up the GPS.


What are the FPS of the FaceTime Camera for the iPhone 6S vs 7+ vs X vs iPad Pro?

Here is the beginning of an answer.

We found a private library method of Apple's (not allowed in the app store) called CAMCaptureCapabilities which has a read only property called front1080pMaxFPS.

We were able to run this on an iPhone X and found the front camera maximum to be 30fps.

On the iPhone 6S/6S+ we have an app that is able to set the camera to 60fps.

We still need to test on other phone models to see their maximum (i.e. particular iPhone 7 and 8.)

Interestingly, this means the iPhone X's front camera is slower than an iPhone 6S/6S+.


How to disable the "this cable or accessory is not certified" message on iPhone?

So iPhone 5s use a Lightning cable rather than the old school dock connector.

Lightning cables actually have an authentication chip in them, hence the message.

There's a jailbreak tweak out there that may be worth checking out, but it's quite old and may not have been updated.

Your best bet would be to just get a new cable. Certified cables can be had for $8 on Amazon, and you don't run any risks of having dodgy cable damage your phone.

It's not just Apple protecting their profits, either. Certification actually means standards were followed.


Create stacks on dock and rename category in `Lauchpad`

You can rename a category by opening it and clicking the title:

Stacks are just folders. Put aliases to a folder and then drag it to the Dock:


MacBook Pro trackpad goes erratic when paper touches it

The oils in your skin and lotion can sometimes have an effect on your trackpad. The best way to clean it is with a damp, clean, lint-free cloth. If that does not work I would try an SMC reset (http://support.apple.com/en-us/ht3964) and a PRAM reset (http://support.apple.com/kb/PH14222)


macOS/OS X Numbers 3.2 inserting date / time

I believe Insert > Date & Time (and its two companions) are intended for use in headers and footers. These are available after choosing File > Print. When used there, the inserted date can be clicked for a little popup formatter and button to manually reset the time to now.

The feature you want, an auto-generated NOW cell that does not change, is apparently not available.

Option A: Put the NOW function into a cell somewhere.  It shows the current time. Copy the cell, then Edit > Paste Formula Results into the cell you want to have the unchanging time.

Option B: Use a general macro app (like the amazingly capable Keyboard Maestro) to generate your date/time text and paste it into a cell.

In both cases, choose the date and time formats you want on the final cell.

(Numbers 3.5.3 used for this answer)


Why does my Automator service work in Automator but not when called from the OS?

What is ⌃F9 meant to do? This worked for me when I wrapped it in a service:

tell application "System Events"
    key code 100 using control down -- ^F8
    delay 0.1
    key code 125 -- down
    key code 125
    keystroke return
end tell

You could try running the workflow with automator -v:

$ automator -v ~/Library/Services/lock.workflow/
Starting Automator…
Run AppleScript is running

Run AppleScript is finished

The Automator workflow has completed.

There are several issues with using Automator services to assign shortcuts to scripts though. See this question. If you run the service with a shortcut that has modifier keys, there might not be enough time to release them before the key code commands.

You could also use a script like this:

tell application "System Events" to tell process "SystemUIServer"
    tell (menu bar item 1 where description is "Keychain menu extra") of menu bar 1
        click
        click menu item 1 of menu 1
    end tell
end tell


Problem persistently defining aliases in terminal

The alias command requires you to have no spaces around the = and also you should use " or ' to enclose the string not the curly quote ‘ you have. That quote often appears in pdfs and books when the editing program tries to make things look nice.

so the command should be

alias showFiles="defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder"
alias hideFiles="defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder"

I can't find a reference for these but they are just things I have learnt :(


Problems Setting up an OS X Radius Server

Reviewing more articles, I realized that the AP was not set to Enterprise. Upon turning that on, and setting it up on the AP, the server was receiving the auth requests (and showing that they were authenticating), but not returning them to the AP.


Edited photos have reverted to originals on iphone

In general, no. Assuming you don't get any of the "long shots" below to work, you'll have to re-crop and re-edit the photos from the originals.

Photos keeps only two versions of an image by design - the original photo and the current edited version. Other apps like Aperture save undo and redo actions and perform non-destructive edits, but not Photos or the iCloud photo library.

Unless your phone still has those images cached and would upload them, you likely lost the edits.

Here are the "long shots" for looking:

Look in the Recently Deleted Album (online and on your device and optionally on another synced device if you should have them)
Look for upload paused on the iPhone (scroll to the bottom of the content on the All Photos Album
Check for iOS backups after you made the edits - you might be able to restore that backup and interrupt the iCloud download of the non-edited versions.


YouTube doesn't work on a brand new MacBook

So this isn't a total solution but it should help.

You reported that even though you joined the html5 program the following video did not play in html5:

http://www.youtube.com/watch?v=5NV6Rdv1a3I

I was able to reproduce that result in Chrome.

Here's how I was able to get the video to play in html5:

In Chrome:

View > Developer > Developer Tools > Click on the little gear icon

In the resulting preference window:

Settings > Overrides > User Agent [X] > iPad -- iOS5

Then reload the video and it will be in HTML5.

Similar solution exists in Safari, but I have to walk the dogs. Back soon.


Can the Google+ app be installed on an iPod Touch?

Not today.

It looks like the current app asks iTunes to require GPS on iPhone.

iPod Touch and even iPad with GPS are prevented from downloading the app directly and iTunes will not install it.

I don't know why iTunes doesn't tell you what specific devices the app will work on rather than be a little vague about "not compatible with this device".


AppleScript choose file with Terminal action

Well, I have no clue what you want, but your code isn't guaranteed to work, which may be your problem. Try this:

set image to POSIX path of (choose file of type {"sparsebundle", "sparseimage", "dmg", "cdr", "iso"})
do shell script "hdiutil mount " & quoted form of image

Source: Part-time work as a prophet


Sharing photos.app library across multiple machines

According to this Apple Support Document:

  Important: If two or more users attempt to use the same iPhoto library
  and the library is not on a volume where permissions are ignored,
  unexpected results may occur. This includes the inability to see or
  edit certain photos, or the inability to open the iPhoto library.
  Follow the steps below to ensure each user has read/write access to
  the iPhoto Library.

Essentially, a single Library must reside on a volume where permissions are ignored. A NAS or a shared internal/external non-System HD attached to your Mac Pro be a good start. You will not be able to share the Library from the internal boot drive as it cannot be set to ignore permissions.


Run a particular Python script as a Service

In Automator, use the "Run Shell Script" action. Normally, you would set the shell drop-down list value to "/usr/bin/python", to use the built-in python 2.7. However, if you select a unix shell, but make sure that your script contains "#! /usr/bin/ env python", or an explicit path to your python3 installation, then it should work.

If you select the other drop-down list "Pass input" to "as arguments", then you can get the filenames of your selected items from sys.argv().

Note that Automator already comes with a watermark action that lets you put one PDF on top of another. (It's also a python script, if you dig deep enough into /System/Library/Automator/)


Can an application that requires JRE 6 run in Rosetta 2?

Azul is already released openJDK Arm64 8 binaries including JRE. Java8 is backward compatible so can run all previous Java versions.
I believe it's possible to setup environment so that java app will use it instead of Apple Java. HomeBrew suggests:

For the system Java wrappers to find this JDK, symlink it with
sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk

or with macports just
sudo port install zulu-jdk8 and /usr/bin/java finds it automatically


Writing special characters to the clipboard with the command line

I think your LANG=en_EN.UTF-8 is the problem.

When I execute this command

printf あいうえお | LANG=en_EN.UTF-8 pbcopy

and paste into a new TextEdit document I get „ÅÇ„ÅÑ„ÅÜ„Åà„Åä (incidentally, this is what you get if take the the UTF-8 encoding of your original text and decode it as MacRoman; you should be able to verify this by doing printf あいうえお | iconv -f macroman).

When I execute this command

printf あいうえお | LANG=en_US.UTF-8 pbcopy

and paste into a new TextEdit document I get あいうえお, just as one would expect.

I am pretty sure that en_EN.UTF-8 is not a valid locale (thus pbcopy is defaulting to MacRoman). Maybe you meant to use en_US.UTF-8 (i.e. US, not EN)? You can list the valid locales by running locale -a. If you are just interested in English UTF-8 locales, you can filter the list like this:

locale -a | grep '^en_.*\.UTF-8$'


"More Info" always "Fetching..." when I "Get Info" from a file

The problem was that I had Spotlight disabled. I disabled it because performance. I really never use it.

Would be great if Finder could get that metadata on the fly if it can't find them indexed.

To active Spotlight again:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist


How to migrate several usb Time Machine backups to a Time Capsule?

Finally, I decided to give a try by myself. I had no particular problem, I just followed the well known procedure of backup to Time Capsule, interrupt, and restore the USB drive to the Time Capsule sparsebundle related to the machine.

All my previous backup, have ben recognized.
However, for 500GB of data I had to wait for two days to be completed.

Apparently, by matching the two .sparsebundle size, the data seemed to be transferred in a reasonable time from 4 to 7 hours. For the rest, it just seems that disk utility stopped doing nothing for the rest of the time.

Even the USB drive went in stand by mode for almost two days. Then, after two days, it just stop informing that the restore went fine.


Could you test your end to end connection with this simple script based on ping output:

#!/bin/sh
# $Id: coupure.sh,v 1.1 2012/09/05 13:11:10 dan Exp dan $
_host_exist=`host $1`
expr "${_host_exist}" : '.*address' >/dev/null || {
        echo ${_host_exist} >&2
        exit 1
}

ping $1 2>/dev/null |
        perl -e  '
                use strict ;
                use warnings ;

                my $started = 0 ;
                my $start = 0 ;
                my $end = 0 ;
                my $count = 0 ;
                my $was_down = -1 ;
                my $last_up = -1 ;
                my $last_hole = 0 ;
                my $now = 0 ;
                my $x = -1 ;
                my $hour = -1 ;
                my $min = -1 ;
                my $sec = -1 ;
                my $hole = 0 ;
                my $delta = 0 ;
                my $time_run = 0 ;
                my $sum_hole = 0 ;
                my $avg_hole = 0 ;
                my $sum_delta = 0 ;
                my $avg_delta = 0 ;

                sub catch_int {
                        $end = time () ;
                        $time_run = $end - $start ;
                        printf ("\ntime run = %14d s,\tdrop count =  %8d", $time_run, $count) ;
                        if ($time_run) {
                                printf (",\t %8.2f / d\n", $count * 86400 / $time_run) ;
                        } else {
                                printf ("\n") ;
                        }
                        if ($count) {
                                $avg_hole = $sum_hole / $count ;
                                printf ("avg drop time =  %8.2f s\n", $avg_hole) ;
                                if ($count > 1) {
                                        $avg_delta = $sum_delta / ($count - 1);
                                        printf ("avg int. time =  %8.2f s\n", $avg_delta) ;
                                }
                        }
                        exit ;
                }

                $start = time () ;

                $SIG{INT} = \&catch_int ;

                while () {
#                       printf ("%s", $_) ;

                        if (! $started) {
#                               printf ("%s", $_) ;
                                if ($_ =~ /PING/ ) { next ; }
                                if ($_ =~ /bytes/) {
                                        $was_down = 0 ;
                                } else {
                                        $was_down = 1 ;
                                }
                                $started = 1 ;
                        } else {
                                if ($_ =~ /bytes.*icmp_seq=/) {
#-------+-------+-------+-------+-------+-------+-------+-------+
#                                       target is up
#                                       printf ("!") ;
                                        if ($was_down == 1) {

                                                $count ++ ;
                                                printf ("%4d\t", $count) ;
                                                ($sec, $min, $hour, $x, $x, $x, $x, $x, $x) = localtime ($last_up) ;
                                                printf ("%02d:%02d:%02d\t", $hour, $min, $sec) ;
                                                $now = time () - 1 ;
                                                ($sec, $min, $hour, $x, $x, $x, $x, $x, $x) = localtime ($now) ;

                                                printf ("-\t%02d:%02d:%02d\t", $hour, $min, $sec) ;
                                                $was_down = 0 ;
                                                $hole = $now - $last_up ;
                                                $sum_hole += $hole ;
                                                printf ("= %4d s", $hole) ;

                                                if ($last_hole) {
                                                        $delta = $last_up - $last_hole ;
                                                        $sum_delta += $delta ;
                                                        printf (" + %6d s\n", $delta ) ;
                                                } else {
                                                        printf ("\n") ;
                                                }
                                                $last_hole = $last_up ;
                                        }
                                        $last_up = time() ;
                                } else {
#-------+-------+-------+-------+-------+-------+-------+-------+
#                                       target is down
                                        if ($was_down == 0 ) {
                                                $was_down = 1 ;
                                        }
                                }
                        }
                }'

Just copy this in coupure.sh on your ftp client,
type make coupure and run it:

./coupure target_ftp_server


Photos doesn't use Events. Though it imports old ones from iPhoto, it considers them now to be Albums &  won't create new Events of its own.

To delete one, enable the sidebar - View menu or  Cmd ⌘   Opt ⌥   S
Right click the 'event' & select Delete Album.

This does not delete the photos in it, just the 'container' event.

Installing Photos shouldn't necessarily delete iPhoto. I still have both on my machines, though I did download Photos specifically, as opposed to it being delivered as part of an update. Maybe that changes the behaviour, I'm not sure.


My iPhone 4S running iOS 5.0.1 recently started showing "invalid sim" message

This is a very common problem which has caused problems for a huge number of iPhone users, particularly outside traditional markets.

There is every reason to believe that it will be fixed by the imminent 5.1 iOS release.

It appears to have something to do with carrier settings, GSM frequencies, and/or SIM cards.

There is some detail in this thread ...
https://discussions.apple.com/message/17769511?ac_cid=142432#17769511

If it is not fixed in the 5.1 release, there will be a lot of very angry iPhone 4S users!


Permanently deleting trashed files after 30 days

This can be accomplished natively in macOS Sierra. Go into the Finder’s preferences, and on the “Advanced” tab pick “Remove items from the Trash after 30 days”.


How can I set the default Reminders list on Mountain Lion?

As it turned out, I defined the Reminders list in the Automator service myself, so I could change it there. Stupid me!


I'm not sure I understand your question.

The -bash: prefix you see is simply bash's way of identifying itself as the source of the error message. In this case you entered cdp which is neither an external nor internal shell command nor was it defined as an alias or function.

While in a (bash) terminal, you can simply type exit to leave the terminal and close the shell session.

The aliases in your .profile are read when you start a new terminal or shell session, or if you source the files: e.g. source ~/.profile.  That should re-read your .profile and load any changed aliases.


Since the two Mac are in the same house, I assume they're both on the same network.

First of all, you need to activate Remote Login on the Mac where you want the sound out.

Go to System Preferences > Sharing and check the Remote Login checkbox.
Then, using your computer, open Terminal and type this

ssh <user>@<computer name.local>

Where <user> is your wife login and <computer name> is the name of the other computer.

Now, it's as if you're having Terminal open on your wife's computer and you can say whatever you like.