How to repair python3.5 and why is it broken at all? Seems that my python3.5 is broken. I can still call it, either with python3.5 or with /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5. But it does absolutely nothing, particularly, it does not open a Python console.

The only thing I did to it was setting a symlink with:

ln -sf /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 python3.5

How can I repair my Python?
Was it really the symlink who caused harm?

Check to see if you got the link command the right way round. What you wrote in your question is correct, but if you had the source and the target the wrong way round when you typed the link command, you could have clobbered the executable. You could also have cobbered the executable if you ran the linking command while in the  ...3.5/bin directory.

Check that the executable still looks right with

ls -l /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5

If you have accidentally clobbered it then re-installing is probably the easiest fix.

Using the -f flag is potentially dangerous, since it will replace files without warning. It's good practice to run commands like ln rm and so on without the -f flag, at least initially.


Prevent app re-adding itself to "open on login" list I have an app ("Android File Transfer"), that adds itself to the System Preferences → Users & Groups → Login Items list. If I delete it with the "minus" button, the app re-adds itself next time it's launched. There is no option for controlling this in the app.

Is there any way to prevent an app from doing this?

Its kind of annoying but you can try locking the plist that controls login items.

Navigate to `~/Library/Preferences/loginwindow.plist
Select the file and press Command + I
Check "Locked"

Note: This will prevent all applications (and you) from adding or removing login items, so remove the application from login items and then lock the file.


AppleScript : Download to a AFP drive I try to download files to a AFP drive but always have "Warning: Failed to create the file /Volumes/home/Downloads: Is a directory
"

But the last command work fine
    tell application "Finder" to open ("/Volumes/home/Downloads" as POSIX file)

set theFileURL to the clipboard
set {TID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, "/"}
set theFile to text item -1 of theFileURL
set AppleScript's text item delimiters to TID

set theFilePath to "/Volumes/home/Downloads"
try
    do shell script "curl " & quoted form of theFileURL & " -o " & quoted form of POSIX path of theFilePath
    display dialog "The download is finished!" buttons {"OK"} default button 1 with icon note giving up after 5
on error theError
    display dialog "Error downloading the file:" & return & theFile & return & return & theError buttons {"OK"} default button 1 with icon 0 giving up after 5
end try

tell application "Finder" to open ("/Volumes/home/Downloads" as POSIX file)

in the same kind of script, I'm also to download torrent to my Synology Download Station if anyone have a clue.

The curl command in the do shell script command is malformed.  The -o option expects a filename or a fully qualified pathname filename not just a path like what the variable theFilePath contains.  See the man page for curl, in a Terminal type man curl and press enter and then scroll down to -o, --output <file> where it states: Write output to <file> instead of stdout.

So your do shell script command should look like:

do shell script "curl " & quoted form of theFileURL & " -o " & quoted form of POSIX path of (theFilePath & "/" & theFile)

If you include the / (slash) at the end of the value you set for the theFilePath variable e.g. set theFilePath to "/Volumes/home/Downloads/" you can eliminate & "/" from the do shell script command, which would then look like:

do shell script "curl " & quoted form of theFileURL & " -o " & quoted form of POSIX path of (theFilePath & theFile)

Additionally, since you have already set theFilePath you can use that in your tell application "Finder" statement, e.g:

tell application "Finder" to open theFilePath as POSIX file

If you want Finder to trigger the opening of the file, and depending on how you set theFilePath (with or without a /) use one of the following appropriately:

tell application "Finder" to open (theFilePath & "/" & theFile) as POSIX file
tell application "Finder" to open (theFilePath & theFile) as POSIX file

The AppleScript code shown below contains both forms of the theFilePath variable and the do shell script command along with two version of the tell application "Finder" statement with one set commented out with the leading -- (double-dash).

set theFileURL to the clipboard
set {TID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, "/"}
set theFile to text item -1 of theFileURL
set AppleScript's text item delimiters to TID

-- set theFilePath to "/Volumes/home/Downloads"
set theFilePath to "/Volumes/home/Downloads/"

try
    -- do shell script "curl " & quoted form of theFileURL & " -o " & quoted form of POSIX path of (theFilePath & "/" & theFile)

    do shell script "curl " & quoted form of theFileURL & " -o " & quoted form of POSIX path of (theFilePath & theFile)

    display dialog "The download is finished!" buttons {"OK"} default button 1 with icon note giving up after 5
on error theError
    display dialog "Error downloading the file:" & return & theFile & return & return & theError buttons {"OK"} default button 1 with icon 0 giving up after 5
end try

tell application "Finder" to open theFilePath as POSIX file
-- tell application "Finder" to open (theFilePath & "/" & theFile) as POSIX file
-- tell application "Finder" to open (theFilePath & theFile) as POSIX file


Macbook Pro 13 Mid 2012 SSD upgrade I have a MacBook Pro 13 Mid 2012 with 4 GB RAM. I want to upgrade it to a SSD drive. I have 2 questions:

Is it advisable to do that? Can someone who has done that give me some feedback from their experience?
Are there any helpful online resources/tutorials etc that you can recommend to do it?

Yes, you can upgrade the drive in your MacBook Pro 13 Mid 2012 to an SSD. Here is a detailed guide from iFixit specifically on hard drive replacement.

And here are more tutorials from Other World Computing on how to handle various upgrades such as memory, hard drive, battery replacement, etc…


iMessage stopped working.. Contacts are shown as red now This problem has been seen on mid-2012 MacBook Pros on Mavericks and on late-2014 Retina MacBook Pros on Yosemite.

One day while using iMessage on the Mac, all the contacts turned red and messages failed to send, immediately returning a "not delivered" error. It also reported when trying to resend the messages that the contacts were no longer associated with an iMessage account.

Things that didn't fix this behavior:

Deleting the com.apple.ids.madrid
Removing the Apple ID information from my phone, turning off iMessage on both of the devices, and placing my iPhone in airplane mode for several minutes before turning it on logging in again.

Could someone help me figure out how to solve this?

One way you will get the red contacts is if the iMessages account is not enabled.

Go to iMessages's preferences. And make sure the enabled check box is ticked.

You Will also get the red contacts if you are not signed in.
If that is the case you will need to sign in to see the enable check box.


Moving Macbook Snow Leopard drive to a Macbook Pro that had Yosemite installed: kernel panic! My wife has a mid 2006 macbook that has been upgraded to snow leopard. I have a mid 2008 macbook pro that has been upgraded to Yosemite. I now want to give my macbook pro to my wife, and thought I could just swap in the drive from her macbook into the MBP (and then subsequently upgrade her to Yosemite).  Swapping results in a kernel panic on the MBP; having done some reading, I suspect the problem is that somewhere along the way the MBP's firmware was upgraded such that it can no longer run snow leopard.

Since I can't (apparently) swap the drive in, what is the best way to move my wife's entire drive contents (i.e. apps, data, settings, whatever else) over to the MBP under Yosemite with as little fuss as possible? I have a cloned version of her macbook snow leopard drive available if that helps matters...

Thanks to those who responded to my question, but here's what I ended up doing:

Installed my wife's macbook/Snow Leopard drive in a caddy and attached it to another mac machine as an external drive
Downloaded the OS X Yosemite installer from the App Store and ran it with the external drive as the target
Attached the newly updated external drive to my Macbook Pro as an external drive and booted up off of it (booted up into startup manger mode - press and hold the option key after the powerup tone - and then selected the external drive as the bootup disk
removed the drive from the caddy and installed into the MBP

I'm not sure the third step is really necessary.

This all resulted in a Macbook Pro running Yosemite with all my wife's data/apps/etc in place with little fuss - my original goal :-)

(If anyone else is following this procedure, a reminder to effectively backup your data before starting! In my case that meant using Carbon Copy Cloner to an external drive.)


Create hyperlink on Mail.app/Notes.app on iOS I am using an iPad with the Smart Keyboard, but my question applied to all devices running iOS.

How do I create hyperlinked text in apps such as the Mail.app or Notes.app on iOS? I tried using the text selection menu, as well as the standard Command K shortcut, but neither of them seemed to give me the result I wanted.

EDIT: I found the direct link to the Shortcut discussed below. Personally tried the Shortcut and it works flawlessly!
There seems to be a way to do it using Shortcuts. Visit this link and then use Find on Page to look for "Create Hyperlink". It looks like it will take a little effort to get it up and running, but once it's created should be fairly easy to use as long as you have the Shortcut enabled in the Share menu. I'll keep searching for an easier option/Shortcut method.


USB Drive Not Showing Up in Disk Utility I have a 64GB USB drive that was unplugged halfway through formatting it, and now it isn't recognized by Disk Utility. diskutil list also doesn't bring it up. I have tried formatting it on a Windows computer with no luck either. It gives an error that it cannot be formatted. Windows at least sees the drive, but Disk Utility doesn't at all.

Are there any low level solutions that might work to re-format the drive or is it probably a goner that would need to be replaced?

If you have the ability to burn an .iso and boot a livecd, Gparted should be able to format the USB drive.
Gparted


Make windows go completely off screen in "show desktop" hot corner Is there anyway to have it so when I go to the hot corner I have set to show desktop, the windows go so far off screen that neither them nor their shadow can be seen?

That option is not available using the show desktop via hot corner.


Retina Macbook Pro doesn't hibernate I have bought a 13 Retina Macbook Pro -my first Mac, just a couple of days ago and I found something odd.

Apple claims that after an hour or so of sleep, the Mac should go to deep sleep -AKA hibernation. Well, yesterday night I closed the lid and the Mac entered sleep mode. The expected behaviour according to Apple is that when I wake up in the morning, the Mac would turn on and load the RAM image from disk back to the main memory, taking many seconds to wake up. Instead, it woke up immediately -like if it never entered hibernation.

1) Why doesn't my MBP do what Apple claim it should do when "sleeping"?

2) I'd like to have the hibernation mode active. I love that my computer turns on sooo quickly but if I'm not going to use it for many hours, I'd prefer to save battery with a (slightly slower) boot.

I already tried to change the standbydelay and the autopoweroffdelay to little numbers like 1 minute, 2 minutes, 0 minutes, 120 seconds, 60 seconds (standbydelay uses seconds, autopoweroffdelay minutes according to pmset man).

I don't have any USB connected, I turned off iCloud and Google sync.

I saw the pmset -g assertions to see if there's some daemon or app or service preventing the deep sleep. I changed the hibernatemode from 3 to 25, and back to 3.

And yes, I read the pmset man and tried virtually everything I read on the web.

The Mac keeps entering sleep but never deep sleep/hibernation.

I tested everything. I'd like to have more control (or SOME control) over when and how MY computer goes to sleep/hibernate.

Since you did not post your pmset -g power profile, we can't be sure if it is set right.

First, autopoweroff specifically says it does not work if on battery power. Sure, that's dumb and contrary to common sense, but that's European power laws.

The correct setting is standby:

From 10.10.5's man page:

  STANDBY ARGUMENTS
  standby causes kernel power management to automatically hibernate a machine after it has slept for a specified time period. This saves power while asleep. This setting defaults to ON for supported hardware. The setting standby will be visible in pmset -g if the feature is supported on this machine.

  standby only works if hibernation is turned on to hibernatemode 3 or 25.

  standbydelay specifies the delay, in seconds, before writing the hibernation image to disk and powering off memory for Standby.

On my Macbook Pro, for some reason, it's:

Active Profiles:
Battery Power       -1*
AC Power        -1
Currently in use:
 standbydelay         4200
 standby              0
 halfdim              1
 sms                  1
 hibernatefile        /var/vm/sleepimage
 disksleep            10
 sleep                10
 hibernatemode        3
 ttyskeepawake        1
 displaysleep         3
 acwake               0
 lidwake              1

Notice Standby is set to 0. It should be changed to 1 to turn the feature on.

pmset -a standby 1


iPhone randomly reboots into safe mode when opening apps Today when I opened my Beststream app, my iPhone boots into Safe Mode. This has happend to me alot this year. I don't like this as all because sometimes, I restart into safe mode, and other times, I do normal safe mode. It just happens sometimes. I've been thinking alot about that it is the RAM that's being overloaded, but I don't know. I have alot of junk from other tweaks that I've removed. Anyways, the crash report can be found here: http://pastebin.com/AAn4AZVa

Specs:

iPhone 4 8GB

If you mean MobileSubstrate SafeMode…

Since it has happened multiple times, restarting hasn't seemed to fix it. Consequently, I would recommend performing the following:

Remove recently installed extensions.

If you know that you recently installed a Cydia package, or updated one, I would suggest uninstalling that package and see if it makes a difference.
Use Crash Reporter.

Crash Reporter will attempt to guess the cause of a crash. After installing, next time your iPhone crashes, you can check the 'Possible Causes' list in Crash Reporter for its guess on the cause. You can then try to delete the package in Cydia and see if that fixes the problem.


How do I distinguish text conversations from the same contact with different phone numbers? I have a contact with whom I share text messages from two different phone numbers. How can I distinguish the two text conversations? Right now, it labels them identically with Full Name at the top, and first name beneath.

iPhone 6 running ios 10.

The answer is: you can't distinguish the different numbers from a single contact


Improving security of Mac OS X 10.6 I own a 10.6 Macbook Pro with which I have to use a public IP (that does not change) frequently. I'm also required to idle at various IRC channels. As part of security, I use pretty strong passwords, have my firewall up and I do regular updates. I use the Google Chrome browser (again updated) for online browsing. I have file sharing turned off.

Are there any more suggestions you'd make to keep my machine more secure?
Are there any ways to detect if I have keyloggers installed on my machine?
Any anti-viruses that you would recommend?
I use colloquy to connect to IRC channels, is there any way I could mask my public IP from people who query it?

Turn on FileVault, don't run suspicious applications, don't use public networks too much, etc. I would also suggest you have a look at Little Snitch or HandsOff. These are applications that detect all incoming and outgoing network connections and allow you to block them. Great apps to see what processes are communicating to what servers, and if you see anything suspicious, you can deny the connection.
For Keyloggers I suggest you have a look at this site. It has some useful recommendations.
I don't actually recommend any antivirus for mac. Macs are pretty virus-free: I'd say you are pretty much completely safe if no one hates you, and if somebody does they aren't going to infect your computer with a virus; they'll attempt to hack you, so anti-viruses seem pretty useless on Macs.
As far as I know, Colloquy should automatically mask your IP. I'm not completely sure about this, and I suggest you have a look at websites that talk about IRC security, such as this one. The final option, I'd say, would be to use a proxy.

Last, if you would like a complete security guide to Mac OS definitely have a look at this manual by Apple. It has pretty much all the security options you might encounter on Mac OS X. It's quite long, but a few chapters (4, 5, 8, 9, etc) might prove useful to you.

Hope it helps!

Kevin


How to keep a process running on the terminal after locking/logging out? Research:

Found no links on internet where someone was able to make it happen. Most answers go round and round without providing a working solution. I'm starting to believe that this is not possible on a Mac.

Question:

I have some scripts that runs tests, build code etc. I want to be able to start the script and "lock" my machine and go home for the day, while the tests continue running behind the locked screen.

However, the moment the screen is locked, the terminal processes just pause. They continue again as soon as I log back in. So the machine just stays powered on the whole night, doing nothing.

Is there a way to be able to run my scripts with locked screen. Note that I'm only locking the screen (control + command + Q) and not even logging out (shift + command + Q). However, the moment the screen is locks out, the tests simply pause.

Most likely this is a safety thing implemented to prevent the machine from not running out of the battery in case there is a power outage. Is there a way I can get around this?

I believe that this has something to do with power savings settings. There is slider for "Turn display off after:" and by default "Prevent computer from sleeping automatically when the display is off" option is not selected.

Maybe caffeinate can help (prevent the system from sleeping on behalf of a utility). 'man caffeinate' for more information.


Apple's Magic mouse scroll button is not working on windows-7 After working on MAC OSX, i installed windows-7 32bit through boot camp. After installing, the magic mouse is connecting ok through Bluetooth. Its left and right buttons are working but scroll is not working.

What drivers or softwares i have to install to make the scroll work? Please inform me.

Thanks in advance.

Following your initial installation of Windows 7 via Bootcamp you need to go a step further, boot into Windows and install the Bootcamp drivers supplied by Apple.  These can be found on your Mac's installation media or by searching for "Boot Camp Support Software" at Apple's support downloads page.  The installation of this software enables functions such as your Eject key, iSight camera, etc, as well as functionality for your Magic Mouse.

Hope that helps!


How to type ` on Mac keyboard? I searched my US American MacBook keyboard and I did not find symbol of "`" (grave accent). Did I miss it?

On the US keyboard it is in the top left corner to the left of the 1.

You'll see it just under the tilde sign (~) in the top left of the keyboard.


Mid-2010 Macbook Pro won't boot after trying to install macOS Sierra After I ran the macOS Sierra installer to start installation, my 2010 Macbook Pro wouldn't start anymore. It would get to the grey startup screen, flash the Apple logo for a second, and then switch to a crossed circle, and periodically restart that sequence.

I got into verbose mode by starting my computer with Cmd+V and saw error messages like:

efiboot loaded from device: Acpi(PNP0A03,0)/Pci(1F12)/SATA(0,0)/HD(Part3,Sig4B75...)
efiboot file path: \System\Library\CoreServices\boot.efi
ERROR!!! Prelinked kernel corrupted
ERROR!!! Load prelinked kernel with status 0x000000000000001b
Error loading kernel cache (0x1b)
Error loading kernel cache (0x1b)
...

How do I get my computer back on track?

Try to remove the corrupted 'prelinked kernel' first, then rebuild the kextcache.

From the Recovery HD (putting your own volume's name instead of "Macintosh\ HD") try those three commands in Terminal in succession (pressing 'enter' after each):

rm -f /Volumes/Macintosh\ HD/System/Library/PrelinkedKernels/prelinkedkernel
touch /Volumes/Macintosh\ HD/System/Library/Extensions
kextcache -u /Volumes/Macintosh\ HD

See also:

man kextcache


renamed vecLib.framework, now can't use PAM, sudo, App Store... Error Code -8076 Well, I think I really messed things up :) While trying to build the NumPy Python math module with Intel's Math Kernel Library (MKL), I was running into some problems with the Accelerate and vecLib frameworks overriding the MKL. At any rate, I decided it would be a good idea to rename /System/Library/Frameworks/Accelerate.framework and /System/Library/Frameworks/vecLib.framework temporarily. Nothing happened after moving Accelerate.framework. However, after entering

sudo mv vecLib.framework/ vecLib.framework.old

I got the following error:

sudo: unable to initialize PAM: No such file or directory

Oops. Unfortunately, the mv command worked, but now when I try to use sudo I get the same error, but the commands don't work. When I tried to rename vecLib through Finder, I get:

The operation can’t be completed.
An unexpected error occurred (error code -8076).

which apparently is some sort of permissions error.

So, my question is how can I get sudo working again? App Store.app won't even run, so I can't reinstall XCode (which is apparently where vecLib.framework comes from) or anything else. I'm afraid to reboot because I'm worried the computer will hang, whereas (as you can tell) at least it's working for now, albeit without any elevated permissions capabilities.

Any suggestions?

BTW, I'm running 10.8.3.

Just try restarting. Even if you can't start up normally, you can still probably start up from the recovery partition or in single user mode.

If nothing else works, try doing an upgrade install of OS X by starting up from the recovery partition and choosing Reinstall OS X. It downloads an OS X installer and replaces some system files with the initial versions. I have done it twice so far and it fixed multiple issues both times, so I have started to consider it as a troubleshooting step (but no-one ever does it when I recommend it here).


iPod nano 7th generation does not pair with any Bluetooth device My iPod nano 7th generation is giving a lot of trouble in pairing with other Bluetooth devices (headphones, car audio, speaker). I cannot even pair it with my iPhone. I turn on the Bluetooth option and just keep going and going looking for devices, I put them close together and nothing.

Any solution?

My scenario and fix:

Ipod Nano 7th gen paired previously with Jaybird X3 bluetooth headphones.
At some point the X3s stopped connecting with the Ipod (connection failed message from Ipod Nano)

I chose to "Forget this device" in Nano interface in the hopes that would reset the connection after X3s were discovered again. No luck. In fact the X3s were not discoverable at all! Other devices were appearing in the Ipod Nanos BT discover screen..and X3s worked with another device via bluetooth.

I reset the Ipod using menu select button and sleep/wake button for 6 secs.
No luck.

Restored Ipod using the iTunes software from Apple. No change, X3s not found.
And erased all data..

Watched this YouTube on how to enter diagnostic mode on Ipod:

Followed the instructions. Narrator said to press all buttons simultaneously for 3 iterations...I think this is wrong and diagnostic mode will engage after apple logo appears on first try..

Once the Ipod was in Diagnostic mode I went through all menu items. I am not 100% sure how the system was repaired but I would definitely navigate to the BT test (bluetooth self-test) and run that.. there was also a DRAm self test but I doubt that test would result in any connectivity change.

After rebooting the Ipod the X3 headphones immediately responded to pairing..

I hope this helps :)


How do I disable inline PDFs in Safari 5.1? Today, Apple updated Safari to 5.1 (6534.50).

In Safari 5.0 or below it's very easy to disable opening pdfs inline, you simply say

defaults write com.apple.Safari WebKitOmitPDFSupport -bool YES

and it never bothers you again.

In Safari 5.1 this no longer works. Does anyone know an alternative to prevent Safari 5.1 opening PDFs in the browser rather than as a download and then in Preview?

I don't know of any way to disable inline PDF viewing, but option-clicking on a link will force a download instead. Not exactly what you asked for, though...

What's interesting is that some PDFs actually get downloaded instead of previewed, so that could be a starting point for a hack: http://www.jbc.org/content/279/1/686.long (click on the link 'Full Text PDF').


After upgrading to macOS High Sierra, my Japanese and Chinese input methods disappeared How do I get them back? They're neither in my Input Sources, nor can I find them if I try to add them.

Reboot into Safe Mode (hold Shift while restarting). You can then log in (it will be slower than normal) and add your input methods again. Reboot again and the changes will have persisted and you should have your Input Sources back.


How to get nfsd to serve NFSv4 on High Sierra? I'm hoping to serve an NFS mount from my High Sierra (10.13.4) server to a linux client. The linux client can mount using NFSv3 protocol, but I use ACLs on the served files and directories, so I think we need NFSv4.

I'd like to use version 4 of the protocol. Is this possible? I see the nfsd(8) man page does not mention version 4. I found a manpage for FreeBSD exports(5) that uses the flag V4: at the start of a line in /etc/exports to declare the protocl version.

I tried this with my nfsd and it failed to parse correctly, using "nfsd checkexports".

If I check rpc:

$ sudo rpcinfo -p
program vers proto   port
...
100003     2   udp   2049  nfs
100003     3   udp   2049  nfs
100003     2   tcp   2049  nfs
100003     3   tcp   2049  nfs

This makes me think my nfsd supports version 2 and 3 of the protocol. perhaps I can upgrade this server?

The version of nfsd on the Mac does support v4. For ACL support you definitely need to connect using v4.

Your failure to get a v4 connection is probably on the client side. Most NFS clients default to trying v3 first then falling back to v2 if unsuccessful.

On your client side you should specify v4 using the -o vers=4 option to your mount command. Do a man mount_nfs on the client to check that it supports that syntax rather than the old deprecated -o nfsv4 syntax. You could also use -4 but that is also deprecated and highly discouraged.

To get ACL support in your client you may have to add the -o acl option as most clients default to no ACL support.

A close reading of man NFS and man mount_nfs on the client is highly recommended.


How to tell a Mac to show 4k resolution or higher resolution even when it is not connected to such display? Sometimes I want to make a screenshot and found that if I do that on a 4k screen, then the screenshot is quite clear (and is in a high resolution).

So I can do this when my Macbook Pro is connected to a 4k display.  But let's say if I am on a trip, how do I make the Macbook Pro show or think it is showing in 4k?  I think this is possible even when we don't install any driver or software, because we can plug in a 4k display and choose "mirror the 2 displays" and the Macbook Pro native screen will pretend that it is a 4k screen, and any screen capture there will be in 4k resolution.

So the question is, if I temporarily don't have a 4k display, say on a business trip, how do I tell the Mac to show the native screen in 4k or even 5k?

It depends on which 4K you're referring to; if you're talking about the "actual" 4K (4096 × 2160), then: no (though you can come close).

However, if you're talking about the UHD 4K definition (See the link to Wikipedia above), which is 3840 × 2160, you can do it using 3. party utilities such as QuickRes (paid), SwitchResX (paid), or Retina Display Mode (free).

I've used QuickRes for a couple of years and definitely find it worth the $5. It's also the app I used to test.

Keep in mind: this only applies to the 15", the 13" can "only" display up to 3360 × 2100.


How can I set duplex to be the default option when printing in Acrobat Pro XI? I wish for duplex to be the default, but I must reset it each time the application is launched.  I would expect to find the option in the Print... dialog of Acrobat, however I do not find it in the dialog or its subdialogs including and I find no Print Setup... dialog.  I looked in Advanced but only find Output, Marks and Bleeds, PostScript Options, and Color Management as available and most of those include greyed out options, none being whether to print in duplex. This is for a Brother MFC-8910DW printer via USB. (Acrobat crashes when using wireless connection, this is supposedly fixed in Yosemite.) The Page Setup... and Printer... subdialogs give a warning message when you bring them up:

  The {Page|Print} Setup dialog box is provided by the operating system. To ensure that you can use the full print capabilities of Acrobat, please set all print options from the Application print dialog box. Do you want to continue?

Inside the Print Setup is the only location where I can choose duplex printing which is always off by default after launching the application.  It wouldn't be such a hassle if I could just leave acrobat running all the time, but it crashes about once a day, very buggy since version Acrobat Pro X after going to Mavericks.

The easiest way to do this is to just set a preset for your printer.
Once you have the setting the way you want, just go to Presets, and save it, call it Duplex, and then you are set..


Will the Apple Store replace Macbook Pro keys or other parts if serious wearing occurs? I have had my first MacBook for around a month now and I'm already beginning to notice some wearing on the keys (especially on the spacebar). The keys are beginning to turn shiny, and at this rate they might be completely eroded in six months. I have tried cleaning them with a dry cloth (I have yet to try with a wet cloth) but it seems that it is indeed physical wearing and not just a spot of grease.

I think I have read on another forum that if you bring your MacBook to an Apple Store and ask for replacement they'll remove your keys and replace them with new ones. Is this true? Do they charge for it?

I don't mean to sound whiny. I am asking this question because my MacBook cost me quite a lot and its exterior aspect is an important part of the experience: seeing parts of the keyboard starting to wear is somewhat frustrating.

Rather than ask us, you might ask your local store since they are the ones that will make the call.

My guess is if you have a functional problem where you loved the Mac to death and used it so much the keys are worn, they would replace it under AppleCare or the standard Warranty. I wouldn't expect warranty service for normal wear and tear and this will likely be up to them to make the call whether your specific instance is one or the other.

Also - do go in if you are frustrated with your purchase. Go now and not later, since the sooner you show them wearing, the sooner they can document it and it's more likely they'll want to replace something that is wearing out prematurely. Think like tires, if yours wear out in under 5000 miles (or km) it's clearly something the warranty should cover. Several years of wear isn't a defect in the manufacturing and just plain old you wore it out.


TextMate is only showing some bundles, and not highlighting my code anymore I use TextMate for all my Python programming, but recently it stopped highlighting my Python code. I have also tried YAML, which isn't highlighted either.

When I click Bundles, I only see the "Blogging", "HTML", "Hyperlink Helper" and "JavaScript" bundles.

I would like to just do a clean reinstall of TextMate, but I'm not sure what I should delete. Overwriting the app with a newly downloaded copy doesn't help. I've also tried deleting the application support directory, but that only contained the 3rd party bundles, so that doesn't change anything.

See it this works. Goto Bundle Editor > Reload Bundles.


iphone 4 wifi issues on work network I'm having problems connecting the the work wifi network.

When I go to Settings the network name is listed under Wi-Fi

However the "network" logo in the top bar shows 3G not the signal strength.  If I look at Settings > Wi-Fi there is a "spinner" next to the network name.

Clicking "Forget this Network" and reselecting prompts for the password, and does not reject it - taking you back to the first situation.

I have done a hard reset, reset Network Settings, rebooted the Wi-Fi router, everything short of a reset of the phone.  I've even looked to see if the router has any blacklists set.

Other people in the office are connecting to the Wi-Fi with no problems, on the same spec iPhones, as well as laptops etc.

My iPhone has no problems joining any other networks.

Any ideas?

Looks like the issue was with the Router.

Finally managed to persuade the guys here to rebuild the router and lo and behold I can connect again...


How do I clone my drive to a external USB drive? I have CarbonCopyCloner but it cannot see my new SSD in the destination section. The destination drive is a USB-attached SSD.

How do I clone to this drive in CarbonCopyCloner?

Before you can clone your hard drive with CarbonCopyCloner, you need to create a partition on the drive and format it appropriately for use with your Mac. Most external drives come pre-formatted for use with Windows machines.

You can use Disk Utility for this purpose. You'll find Disk Utility under /Applications/Utilities/Disk Utility on your machine.

In Disk Utility, look along the left hand bar for the USB-attached drive. If it has a partition on it already you'll see the drive listed, with the partition indented below the drive in the list:

Select the drive, not the partition, and then use the Erase tab on wipe the drive. You want to format the drive as Mac OS Extended (Journaled). You can give the drive a friendly name if you like. Once Disk Utility has wiped and formatted the drive with the appropriate file system you'll be able to use it as a clone target in CarbonCopyCloner:


How should I proceed when I get the "Unable to Purchase" alert from the iOS App Store? Recently, whenever I want to buy something from the iOS App Store or update my existing apps, I get the usual password dialog, but after a second that disappears and I see the following alert:

After clicking OK and then entering my password the app installs just fine (and gets billed correctly).

Strangely sometimes the apps mentioned in the Unable to Purchase alert get marked as Waiting... on the homescreen, even though there are no updates for them.

When this happens I am unable to start those apps, until later, when it magically disappears again.

This happens on both an iPhone 4S and an iPad 2, running iOS 5.1.

According to a previous discussion on the Apple Discussion boards, you should sign out and sign in again in your Store settings.

And if that doesn't work, their is always another fix, which involves downloading a 3th party software. No jailbreak required!


Duplicate archive subfolders with Mail.app I have a strange problem with Mail and I cannot understand if it's a bug or not.

When I archive a message, Mail creates duplicated subfolders. They are called "On my Mac" and they are located under "Archive" folder.

All the subfolders, 4 in my case, contain the same message. This is quit strange since if I delete a folder, I cannot find the message anywhere else (i.e. the message is deleted in the other ones).

Here a discussion on Apple forum where it appears to be an unresolved bug:
Duplicate Mail archive folders.

I'm running ML 10.8.4 and Mail 6.5.

Any suggestions?

I've had this problem for quite some time.  I did a completely new install on a brand new machine and still had this problem.  Here was my solution.

Back before Mail had an archiving feature, I had a folder called "Archive" that I used to put mail that matched certain rules.  The presence of this rule caused a folder to be created with that name.  This must have cause some electronic version of confusion.

When I removed the rule and deleted the folder one more time, I was left with a single Archive folder.


Touch Bar display partly not working My Mac's Touch Bar's display doesn't work near the Touch ID button, and I have no idea why. There is supposed to be a Siri button at that location, but it's not there.

The touch still works at the black area, but I hope the display isn't broken or something.

Tried Restarting and resetting the SMC, but it didn't work.

Device: MBP 2018 13-inch Touch Bar
OS: macOS Mojave 10.14.6

When I screenshot the Touch Bar, the Siri button is in it:

There are a couple processes that send data back and forth and this is a sign you need you log out of the user account so that those processes can exit and then when you log in, see if the connection is fixed.

Unless this is something that you run into very often, I'd log out and then restart to be sure it's not systemic before expending a lot if time digging into this.


What angle do I insert iPad SIM eject tool into new iPad to get the tray out? I've found lots of videos on how to eject the SIM card holder from an iPad 2, but the location is different on the New iPad, and no matter whether to put the pin in parallel to the screen surface, or at the sort of angle shown on the card that holds the SIM eject tool, I just can't seem to make the the card holder actually eject!

I haven't yet been able to find any video demos online, yet, for the new iPad.

I'd appreciate any tips, to avoid my breaking it.

PUSH!

The old way was to insert the tool at an angle and kind of push sideways and pull out at the same time, using leverage, and the tray would hang onto and come out with the tool, but with the new iPad (2012), simply insert the SIM eject tool straight into the tiny hole (straight being the way it enters with the least resistance, i.e. perpendicular to the case where the hole is), and then push.  The tray will eject.

I'd have posted a link to authoritative information, but I just had this exact problem myself (UPS guy arrived an hour ago!) and so I'm speaking from first-hand experience :-)

I tried what I thought was obvious once I realized the hole was no longer part of the SIM card tray assembly (see photos below), so angling and pulling would do nothing like it did on the 2010 model's tray (i.e. when the hole was part of the tray).

SIM card tray outer view from my original iPad (2010):

Notice the hole was part of the tray.
SIM card tray outer view from my new iPad (2012):

Notice the hole is separate from the tray.  Insert SIM tool, and push.

I'm adding a comment.
Once you notice the Sim Tray lifting just a fraction you are half way there - now push harder and it pops right out. Good luck.


How to shrink a Windows XP VMWare Fusion virtual machine? Is it possible to shrink a VM Ware Fusion Virtual Machine, and if so how? Specifically a Windows XP guest/client?

I've found old references to procedures purported to make this possible, but they reference a VM Ware DiskTool that appears to no longer be available.

In VMWare Fusion 3. There are 2 parts

Prerequisites are the VM cannot have any snapshots and the virtual disk does not have a preallocated size. Making virtual disk sparse

Clean up Windows

I would then in Windows run the MS Disk Cleanup tool to remove files and then Disk Defragmentor to put all the space in one place.

VMWare tools includes a shrink disk command

Then power off the VM

Clean up the virtual disk

Search for Clean Up a Hard Disk in Fusion's help

  1
  From the VMware Fusion menu bar, select Window > Virtual Machine Library.
  2
  Click the thumbnail of the virtual machine and click Settings at the bottom of the library window.
  3
  Under Removable Devices in the Settings window, select Hard Disks.
  4
   In the Hard Disks panel, select the hard disk in the source list.
  5  Click Clean Up Disk in the Disk Cleanup section.

  VMware Fusion displays a progress dialog as it cleans up the virtual
  disk.


Can I bind two arrow keys to a single shortcut? I'd like to be able to bind a shortcut key to perform differently when pressing two arrow keys than when pressing one or the other. For instance, I want to make a new shortcut key for Command+Left+Up that will be different from Command+Left and Command+Up.

Is this possible?

I'm using OS X 10.9 - Mavericks.

You could use a private.xml like this with KeyRemap4MacBook:

<?xml version="1.0"?>
<root>
  <item>
    <name>test</name>
    <identifier>test</identifier>
    <autogen>__SimultaneousKeyPresses__
    KeyCode::CURSOR_UP,
    MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND | ModifierFlag::NONE,
    KeyCode::CURSOR_LEFT,
    MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND | ModifierFlag::NONE,
    KeyCode::F19</autogen>
  </item>
</root>

Then use F19 as the shortcut.


I've forgotten the download Apple ID I bought one app and one app bundle on the App Store, but I forget what Appel ID I used.

I've tried several Apple IDs to find it, but can't find the one. I remember I connected it to my bank card, if that's useful?

How can I find it?

First find the transaction on your bank account transactions summary. Then contact Apple and ask them to reference which Apple ID made that transaction.

They may not give you the full email, but maybe the first/last few characters may give you a hint.

Best of luck!


How to disable Full Screen Animation on OS X 10.9 When an OSX window is promoted to be full screen there is a one second transition animation. How can this be disabled system wide? We would like the transition from small window to full screen to be instantaneous - except for the unavoidable lag from rendering.

Here are two for examples of solutions that DONT work, so no need to repeat them:

http://forums.macrumors.com/showthread.php?t=1691359
http://www.reddit.com/r/apple/comments/1plzmq/is_there_a_way_to_speed_up_or_skip_fullscreen/

Most popular "solutions" are two:

  Terminal

  Type " defaults write NSGlobalDomain
  NSAutomaticWindowAnimationsEnabled -bool NO"

  Hit enter

  Close all applications before you do this to make sure the
  setting propagates. Any app running when you make this change will
  need to be restarted for the changes to take effect.

In reality, NSAutomaticWindowAnimationsEnabled doesn't effect OS X 10.9 at all. Nothing will change however you like to set it.

  There is a app called TotalSpace (or Spaces) that I know is able to disable some transitional animations.

  URL: http://totalspaces.binaryage.com

In reality, Total Space can disable some animation switching between screens, but when you play a video on, say Yahoo Screen, the animation from a small video to a full screen video still remains - and in fact that is the actually annoying animation (takes about 0.5 second to complete therefore breaks the video experience).

macOS Sierra (10.12) introduced "reduce motion".
Go to System Preferences > Accessibility > Display and check the box labeled Reduce motion.
I find this makes things much more pleasant ;)


Can I change the icon of a mounted disk in Transmit? I noticed these icons in the resources folder of Transmit:

I was wondering how I can change the standard cardboard mounted disk icon with the transmit logo to one of these. Is this possible and how?

I did the following and it worked.

Open the .icns file by double-clicking it.
Press Cmd-C to copy the image.
Mount the FTP volume.
Click the mounted volume's icon on the desktop or in a window viewing the computer (Shift-Cmd-C in the Finder).
Click the icon in the top left.
Cmd-V to paste the icon in.

This creates an file at the root level of the volume called .VolumeIcon.icns, which when Mac OS X sees, uses it as the volume's icon. I successfully ejected the drive and remounted it and the icon was still there.


How to reset Apple ID password without email access I received my wife's old iPhone and created an Apple account in my name. When I go to settings her name pops up. I hit that and it wants her password, however she doesn't remember.  She no longer has the email she signed up under so I can't have an email sent to the account.  Is there a way to change the name and account?

Go to Apple's iForgot page and enter your Apple ID. From there, choose the Security Questions option and answer the questions. If you are correct, you should be able to reset the password. If not, you may have to contact Apple Support or go into an Apple Store.


Mac mouse cursor-pointer SIZE does NOT change when shaking Mac mouse cursor-pointer SIZE does NOT change when shaking, even when "Apple - System Preferences - Accessibility - Display - Shake mouse pointer to locate" is selected.
System: macOS 10.12.6 (16G2136) Sierra.
How to fix it? Thanks!


Can I add a status icon for thunderbolt ethernet to the menu bar? (Mavericks) As the title suggests, I'm using a mac book pro with os x 10.9.2 and I connect to the network through the ethernet adapter thunderbolt.

Is there a way to get a reference icon in the menu bar, as is the case for the wifi?

I'd prefer not to use applications such as iStatsMenu or similar ..

Did you try this from: https://discussions.apple.com/thread/5598818

I quote

  Accordingly, I went into /System/Library/CoreServices/MenuExtras/ then double clicked on WWAN.menu for cable broadband. I think for DSL you'll need to click on PPPoE.menu.

Give it a try, otherwise you probably need third party apps like iStatsMenu


Junk mail filtering ignoring "Sender is in my Contacts" Lately some of the emails I get from a particular website have started going into my Junk folder. I have the sender address in my Contacts, and in Mail's Junk Mail preferences I have the box "Sender of message is in my Contacts" checked. Yet this doesn't seem to be working, they're still being filtered. The site is an online forum, and it emails new postings in threads I've subscribed to.

I also had the option "Perform custom actions" selected. I think this may have been left over from years ago when I was also using a third-party spam filtering plugin. When I look in the "Advanced..." page, the conditions are equivalent to all the checkboxes on the main screen. I tried changing that option to "Move it to the Junk mailbox", but this actually made things worse -- instead of just a couple of the messages being moved to Junk, almost all of them were -- so I put it back.

I haven't figured out what might be distinguishing the messages that are being marked as junk.

Any idea why that option isn't really exempting them from junk filtering?

EDIT:

In case it's relevant, I also have a rule that matches these messages; it matched the sender and subject line. It was just marking them as read (I have a menulet that shows the number of unread messages, and I don't want these included). When the messages were put in Junk, they were still marked as unread, so this must be happening before rule processing. I tried changing the filter to move them to a new folder, it didn't help.

This turned out to be spam filtering by the ISP (Comcast), not Mail.app. Since they use IMAP, the ISP's Junk folder is sync'ed with the Mac's Junk folder, so when the ISP filters it it looks just like the client filtering it.

I went to the ISP's mail settings and disabled their spam filter, and the problem went away.


How to see certificate for intermediate CA in Keychain? When I check details of a certificate I only see information about the certificate itself. Is there any way to see the issuer’s certificate? In my case it’s an intermediate CA. The certificate that I care is for S/MIME (hence the tag), but I think this should apply to all kinds of certificates in general.

I think there should be a way because it’s very intuitive in Windows. Also Chrome on macOS displays the full chain for websites. I think Keychain.app has this information because it labels the certificate as a verified one.

For any Stored certificate, using Keychain Utility:

Open Keychain Utility, choose any certificate, double click it, select Detais:

The certificate will popup up, click on Details triangle.

Look for the issuer on the info below:

Here is the same certificate showed above, with the window extended to show full information: (NOTE: this osu.edu certificate is EXPIRED, so it is shown as "not trusted", but its issuer chain is present on it, and it is valid [the issuer InCommon CA chain].

Here is an Intermediate CA Certificate stored on my Keychain:

Here is another Intermediate CA Certificate

For any website certificate, using Safari:

After clicking "Show Certificate", folow the same procedure and click on the Details Triangle.


External Hard Drive last used / files copied on another computer? I have an external hard drive (called SEAGATE Expansion Portable Drive) and I was wondering if there is any way I can tell whether this hard drive has been plugged into another computer any time in the past month?

It went missing and then turned up again. I would like to check whether it has been plugged into another laptop and had any files copied without my knowing - is there any way I can check this??

Thanks!

In short, No.
There's no way to be absolutely certain.

Files could have been copied from it, the entire drive could have been cloned without leaving a trace.

You can have a look at the Last Opened data, but it's not conclusive proof of a negative.
You'd have to check a folder at a time [Search ought to be able to do it, but it never seems to work properly other than on "This Mac" which would show you too much other data]

Open a folder on the drive, set it to View > As List.
Right click the columns bar at the top & add Date Last Opened.

Click the new column to sort on it.
Check folder by folder...

Of course, anything you have opened since will confuse the results.


Finding old versions of iOS apps (for 5.1.1 on a 1st Generation iPad) I have a first generation iPad that was working perfectly well,
and was loaded with apps which worked perfectly well. For various reasons I did a factory reset.

Now I can't reinstall many of the old apps, because they require iOS 6.0.
Is there a way to find and install old versions of Apple App Store Apps?  The YELP and PBS apps are examples.

Related questions include:
* How to install apps which require a newer version of iOS on a 1st gen. iPad?
* How do I upgrade my iOS on my iPad 1st generation?

my daughter showed me an easy way to install the older Apple store apps. you simply log onto the apple store using a computer (without the iPad connected). find & download the software to the library on that computer. once it is added to your library, goto the app store on the iPad & install the software...
since the newest version won't work for the iPad, it will ask you if you would like to install the latest compatible version.
this seems to work for 85% of the apps out there (as long as there was a prior compatible version).
:)


Shuffle songs in playlist only Is there a way, in an 80GB iPod video (I think that's what it's called) to shuffle only the songs in my playlists?

In other words, when I drop into a playlist I want the songs to be shuffled, but when I drop into an album, I want to hear it in order.  Is that possible?

It seems like my only three choices for the shuffle setting are songs, albums and off.  Is there some other way that I'm missing?

Shuffle is a global setting. You can't turn it on for playlists but not for albums.


Permissions keep changing on Desktop I am running a Apache2 on my MBP on macOS 10.13.6. I setup everything well, and it works when going to localhost/~user. In my ~/Sites folder, I have a symbolic link to a folder on my Desktop with my website files in it. I can navigate to the website with localhost/~user/mysite only sometimes. If I get a 403 error, it is fixed with running chmod a+x ~/Desktop. This fixes it until about the next reload, but almost every time I make a change and try to reload the site, I have to run the chmod command. I use Brackets for my web editing, and I have iCloud Drive syncing enabled for the Desktop folder. I think that it is either the iCloud Drive resetting permissions for the folder or Brackets doing something weird. Has anyone had a similar problem and fixed it? This is really annoying and it's slowing down my development.
EDIT: My httpd.conf file: pastebin
EDIT: It seems my question was unclear, but what I was asking is why the permissions keep changing on my ~/Dekstop folder. I do chmod a+x ~/Desktop and it fixes my apache 403 errors, but after about a minute this changes and I have to run the chmod command again. I was thinking it might be iCloud Drive sync changing something, or Brackets messing up permissions.

I had the same problem with the Documents folder. I solved it by using ACLs to grant access.
chmod +a "_www allow list,search" Desktop
For more information, see my answer to a similar question.


Why is Skype using 100% of my CPU or more and how can I fix it? Today I used the Mac version of Skype for the first time on my new MacBook Air 11" running Lion  - v10.7.2.

To my surprise, the process was using more than 100% CPU, the CPU temperature went high, as expected, and the fan went wild! Even more, the battery went from full to critical after just one hour of the video call.

Just now, I opened Skype to get the version number - v5.3.60.1093 - with no active chats nor calls, the CPU usage went to 135.9% in the blink of an eye!

This issue seems to be all over the Skype forums, but I can't seem to find a solution.

If anybody can lead me towards a viable fix, I'd be grateful!

I found this fix on a Skype community thread:

  Quit Skype, then in your home directory, look for a folder called Library/Caches/com.skype.skype and delete or rename that folder then start Skype... cpu usage should be back to normal.

If you can't find that folder, open your Terminal and simply type:

$ open ~/Library/Caches/com.skype.skype


transfer apps from iPhone 4S to iPad 3 using iTunes 10 on a PC I have an iPad 3 and a iPhone 4S both logged in with the same Apple ID. I have downloaded about a dozen apps on my iPhone 4S and would like to transfer these over to my iPad 3.

I have connected my iPad to my PC with iTunes, however I cannot seem to find the setting that allows me to transfer the apps I have previously downloaded with this Apple ID to my iPad.

I am using iTunes 10.

How can I do this?

If you want to simply reinstall the apps, look for the Apps tab in the iPad sync settings on iTunes, tick the boxes of the apps you want to transfer. If you want to copy your save files, etc. then try the following.

Note I haven't tried this

When you reset your iPad or plug it in for the first time, it will ask you if you wish to restore from backup. Try choosing your iPhone 4S's backup if it's in the list.

Also, you can simply re-download from the app store on your iPad at no charge. Instead of a price tag, you will see an Install button.


Taking over old iPhone 4, updated to iOS 6, but can't activate? I have borrowed/taken-over my girlfriend's iPhone 4 that had iOS 4.x installed. She has changed phone carrier, so I don't have any active iPhone SIM card at present.

Anyhow, I updated to iOS 6 and gave it a Wi-Fi connection for its configuration. However, it just states I should contact customer care, but I don't really believe I should need activation? The phone should not be locked as far as I know, but is that the problem? Or is it the change in iTunes account?

I am not sure how to progress from here... So I am hoping someone here recognizes the problem, so I can explain the problem properly over phone and/or contact the right ones

All you need is a SIM card in the phone while you activiate it first time after upgrade. (Not sure if sim card needs to be same carrier, still active etc. I was lucky I could borrow a friend's SIM card that incidently was also same carrier as the phone had been on earlier)


Find all my backed up photos on Time Machine drives I have several time machine backups. I want to get all the photos out of them and upload them to Google Photos. I believe the "Backup and Sync from Google" application will do this for me, once I find (and perhaps temporarily copy) my photos.
Although I can browse my Time Machine backups in the Finder, there are, again, lots of them, and the drives being backed up changed over time. I don't see scanning through them manually being viable if there is any automatic option possible.
I'm running macOS 11.1. I can't change into the backup directory or list things from the terminal, even as root:
/V/MacBack ❯❯❯ cd Backups.backupdb/
cd: Permission denied: 'Backups.backupdb/'
/V/MacBack ❯❯❯ ls Backups.backupdb/                                                                                Thu 11 Mar 07:10:07 2021
ls: : Operation not permitted

When I try to see all the settings applied to the folder, I get:
/V/MacBack ❯❯❯ ls -lfde@O Backups.backupdb/
drwxr-xr-x+ 7 clinton  staff  - 238 17 Mar  2019 Backups.backupdb//
 0: group:everyone deny add_file,delete,add_subdirectory,delete_child,writeattr,writeextattr,chown

I would be happy to strip the permissions (and restore them when I'm done, if possible). Supposedly chmod -a# 0 should work, but it doesn't:
/V/MacBack ❯❯❯ sudo chmod -a# 0 Backups.backupdb/
chmod: Failed to set ACL on file 'Backups.backupdb/': Operation not permitted

This answer seems close. I also tried to give myself access this way, after confirming my user id:
/V/MacBack ❯❯❯ sudo chmod +a# "clinton allow writeattr,writeextattr,chown" Backups.backupdb/
usage:  chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a  [i][# [ n]]] mode|entry file ...
    chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ...

Perhaps I'm barking up the wrong tree. Maybe there's a utility that does this. I can see that I could restore files, but I'd run out of space quickly (unless I could only restore photos?), and it'd take forever.
How can I find all the photos in my multitude of backups (or, even all the photos in a single TimeMachine backup?)

Aha! Here's the answer: https://superuser.com/a/1591350/2684
On Big Sur (macOS 11), you need to go to System Preferences and enable Full Disk Access for the Terminal (or, iTerm, in this case). Then, magically, a command like:
chmod "-a#" 0 Backups.backupdb/

works just fine.

I also learned that chmod -N will removal all ACLs from a file, via https://superuser.com/a/299912/2684 .


Yahoo taking over my google search My default search engine is google, but when i search it goes to yahoo. I tried the extensions solutions but i don't have any extensions. what should I do?

send help.

You probably have some malware on your Mac. Download MalwareBytes for Mac and scan your system, and also make sure to delete any "threats" that it finds.


Can you only partition a hard drive once? I am trying to create two partitions on my fairly old macbook air (2015 macbook air running Yosemite 10.10.5) My goal is to be able to dual boot ubuntu and from what I've seen i need to partition part of the drive for ubuntu and then create another partition that is slightly larger than my ram. I assume I should be trying to change partition layout but its greyed out.
Here is the diskutil for @Jean_JD
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage                         169.5 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:       Microsoft Basic Data UBUNTU                  80.6 GB    disk0s4
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Untitled               *169.1 GB   disk1
                                 Logical Volume on disk0s2
                                 232B9688-C0ED-4C8C-911D-E64019CA8B1F
                                 Unencrypted

Ive also tried partitioning untitled Mac os extended drive but I can only partition it once. Thank you for the help though everyone, I think I making a second partition for swap isn't needed for Ubuntu.

From what you have presented in your question, you are finished using the Disk Utility. When you install Ubuntu, you can use the tools provided by the Ubuntu installer to finish partitioning the drive. You can used these tools to do the following.

Delete the existing MS-DOS (FAT) formatted partition labeled UBUNTU.
Create a new partition for Ubuntu. You should give this the mount point /. If necessary, save some free space for the swap partition.
Create a new partition the desired size of the swap space. With the current releases of Ubuntu the creation of this partition is optional.

Note: Ubuntu will use the hidden EFI partition created when OS X was installed. This EFI does not appear in the image you posted. However, this EFI partition will appear in the Ubuntu installer when you change the partitioning. You can use the OS X command diskutil list to see all partitions including the hidden ones.


Repeating Mail Calendar Reminders? We have an iPhone 3G running iOS 5.0.1 (9A405), which connects to an Exchange server in Mail.

Calendar is synced, and event reminders pop up with an alarm on the phone.  The alarm occurs once only.

Is there any way to set the alarm/reminder to repeat?

Is this set on the phone, or in Outlook when creating the calendar event?  I can't see an option for this in Outlook 2007.

Edit:  If you're connecting an Exchange account or to a Google calendar via the Exchange setting, the Second Alert option is not available, because these systems do not support a second alert.

If you are not connecting via the Exchange setting you can access the Second Alert like this:

On your iPhone, start Calendar.
Navigate to the day that has your event.
Select the event, which brings up the Event Details.
Click the Edit button.
Scroll down until you see Alert.
If the event does not already have an alert, it will say "none" and you click "none" to add an alert.
Once the event has an alert, you will see a new entry just below it called Second Alert.  It will say "none" and just like the first alert, you can click on it to add another alert.


Possible to have separate shortcuts for different text-to-speech voices? I know that it is possible to make Mac OS X to read the text with a keyboard shortcut.

System preferences Dictation & Speech->Text to Speech tab

But suppose I'm multilingual. Is it possible to have different shortcuts for different languages?

While I couldn't find a way to assign keyboard shortcut directly, an acceptable solution turned out to be much simpler than one might think.

Create a new Service in Automator. By default it takes selected text in any Application and lets you to do something to it. Choose Speak Text from the Text category and select any active voice from the drop-down. Now save the new Service under some descriptive name and you will be able to assign a desired keyboard shortcut to it from: Preferences > Keyboard > Shortcuts > Services > Text > "Name of the Service".

Done.


How does Apple calculate the energy consumption of a process in OS X Mavericks In OS X Mavericks you can monitor the energy consumption of different processes in Activity Monitor.
Here we can see 'Energy Impact' and Avg Energy Impact' and that the values can exceed 100.

Also there will be a menu bar icon which lists the most energy consuming applications running right now.

Is there any documentation how apple calculates the current energy consumption? Is there a mapping between CPU utilization and energy consumption?

Hopefully there are some experts here who can give me a hint.

There are many aspects of CPU utilization that affect energy consumption. It's not merely how much CPU does an application consume, but also how often and how flexible it is about it. The latter can have much bigger effect.

An application that needs to wake up exactly every 10ms to execute just a few lines of simple Obj-C code can have an order of magnitude larger energy impact than the same application executing thousands of lines of code but just once a second and not being very particular about exactly when within that second will the calculation happen.

Apple probably uses Intel's performance counters and accounts them to your application. You'd probably gain most insight by following Intel manuals first to understand the power states and energy management. This will highly vary between architectures. A badly behaving app can have a much bigger impact on Haswell than on an "old" Core 2 machine.

Use of other resources, such as the audio system, doing disk I/O or using USB devices may be also factored in. A likely accounting method would assign to your application all of the energy use needed by the resources your application uses exclusively (say a custom USB device, access to an otherwise powered-down audio syste), and do some sort of pro-rating for shared hardware.


Is it safe to disable System Integrity Protection? While using OS X El Capitan 10.11.x, is it safe to disable System Integrity Protection? There are all these additional apps that modify folders and the dock that I want to install but you have to disable rootless first.

Good idea or bad idea?

If you disable SIP you'll get the same level of protection as you had with OS X versions before El Capitan. Whether this is enough for your needs it something only you can decide.

OTOH it's not that much trouble to disable SIP briefly to chance a protected part of the system. If you want to be on the safe side, disconnect from any networks while you do this.


Mac package installer installs the folder "Contents" in /Applications instead of the bundle When I try to use packaging with my .app to create a Mac installer, and I run the installer, it creates me a folder named "Contents" in my /Applications folder, instead the "bundle app" as it should.

I've test with pkgbuild + productbuild:

pkgbuild --component "./myapp.app" --version 1 --install-location /Applications component.pkg
productbuild  --package-path "component.pkg" --distribution "./Distribution.xml" --package-path "./Temp" --resources "./Resources" --sign mycert "myapp.pkg"

And just with productbuild:

productbuild --component "./myapp.app" /Applications -s mycert myapp.pkg

In both cases, I run the installer, everything seems fine, but in Applications folder I see "Contents" (that is the content of the app bundle)

I've tried with "./myapp.app/" also in --component attribute, and even adding "/Applications/myapp.app" in the --install-location

Took me a few tries to get this working (the installer managed to do some really strange stuff on my first few attempts). But this seems to work reliably.

I created a temporary folder with just the application I wanted to package (leaving the app sitting elsewhere seemed to result in the aforementioned strange behaviour), then package it from there. So I created a temporary folder called "test" on my desktop and dropped the app in there on its own. The following command then reliably results in a working package on my Desktop.

productbuild --component ~/Desktop/test/myapp.app /Applications ~/Desktop/myapp.pkg --sign "my certificate identity name"

Something that is helpful when testing is to run sudo opensnoop | grep installd in a Terminal at the same time. It generates a lot of output but you should be able to see the application bundle being created in something like /var/folders/zz/GIBBERISH/C/PKInstallSandboxManager/GIBBERISH.activeSandbox/Root/ and then copied to its final destination.

Note: I'm not certain why you are using -s in the second example productbuild command you gave in your question. There are three options arguments to productbuild that start with "s" (synthesis, scripts and sign) and the man page doesn't mention using the shorter "-s" for any of them. Perhaps this is the problem. Of course it could just be a typo. :)


Accessing a PDF stored in iBooks (on a jailbroken device) On a jailbroken iPad, I was looking for a way to access a particular PDF from iBooks. The files reside in /var/mobile/Media/Books, so basically I was looking for a way to find the random filename of a particular book. Is there any method?

There are various files (.plists residing in /var/mobile/Media/Books), but the only one that seemed up to date also regarding renamed titles was

/var/mobile/Applications/iBooks/Documents/BKLibrary_database/iBooks_v*.sqlite

This file can be opened with iFile's SQLite Editor and under the Key ZBKBOOKINFO there's the mapping between filenames and book/pdf titles.


How to fix LaunchAgent scandir: [Errno 1] Operation not permitted error? <key>ProgramArguments</key>
<array>
  <string>/usr/local/bin/backup.sh</string>
</array>

Running /usr/local/bin/backup.sh requires access to ~/Documents.
My gut feeling is I have to allow an app in "Security & Privacy", but which one and is that secure?

The following worked!
I created an app using "Script Editor" that runs /usr/local/bin/borg-backup.sh using zsh.
do shell script "zsh /usr/local/bin/borg-backup.sh"

I then exported the app to /Applications/borg-backup.app clicking "File" then "Export..." choosing "Application" for "File Format".
Finally, I updated ~/Library/LaunchAgents/local.borg-backup.plist.
<key>ProgramArguments</key>
<array>
  <string>open</string>
  <string>/Applications/borg-backup.app</string>
</array>

The first time the launch agent ran, a prompt asked me to grant borg-backup.app access to ~/Documents.


How to list all untagged files in Mavericks Finder? I'm trying to start using Mavericks tagging system, even though it has its bugs…
I'm also evaluating Yep to better organize my docs, but maybe I can do without, if I can find how to display all the untagged files in a Finder window via smart folders/saved searches. There's the filter for "Tag" (in "other…"), but it wants me to write a tag name (or the start/end of it). Is there any way to use a wildcard, or an hidden way to set "has tags" as filter?
(Also, a more intuitive way to view files with two or more tags would be good…)

Ok, I should have taken a look at SuperUser, here's a way to do what AllInOne says without fiddling with XML files (and it's faster).
Simply create a new smart folder or hit cmd+F, choose "Raw Query" from the filters and type kMDItemUserTags != '*' in the field.


How do I configure Textmate2 to always show wrap Column line for all files? I want to show the wrap column line for all files, how can I do this? I checked the .tm_properties file, but I don't see any mention of it in there.

Ok nevermind.

showWrapColumn    = true fixed it.


Customise mailboxes shortcuts Is there a way to change the shortcuts to mailboxes?
Since I don't care usually about VIPs/drafts (see attached fig.), it would be more helpful to have rather trash and archive, for instance.

The shortcuts correspond to the order in which they appear on the Favourites Bar, underneath the toolbar. If you add, remove or rearrange mailboxes there, the shortcuts will change accordingly.

If your Favourites Bar isn't currently visible, you can show it using the View > Show Favourites Bar menu.

http://www.cultofmac.com/202280/go-to-favorite-mailboxes-with-keyboard-shortcuts-os-x-tips/


Time Capsule Questions I'm planing to get Time Capsule and want to clarify some questions:

1.Is it possible to use Time Capsule without connecting it to external network (and the Internet) ? I just want to connect to it from my Macbook and use it as storage for Time Machine and other files.

2.Is it possible to store media files on Time Capsule (mp3, avi, mov) ?

3.Is it possible to use Time Capsule as DLNA server ?

4.Is it possible to backup media files (not Time Machine) from Time Capsule using Crash Plan service ?

5.Can I copy files (images, for example) from iPhone, iPad to Time Capsule ?

Yes, you can connect to it through wifi/cable without the Time Capsule connected to the internet.
Yes, you can just store anything on it.
No, unfortunately not.
I am not familiar with this service. However, you can mount the Time Capsule as an external hard drive and thereby use it as any other backup device.
Like answer 4: if the iOS program allows you to copy files to an external source (FTP/ssh/etc.) you can connect the Time Capsule to computer in your network and access the time capsule drive through remotely accessing that computer. I don't believe that the Time Capsule drive can be directly approached by iOS.


Recover Google Authenticator settings My old phone packed up and although the iPhone that I have now has all my apps which I saved from iCloud, unfortunately the settings have not been saved. I never backed up my 16 digit security key.

I cannot now sign in to various websites because although I have username and passwords I no longer have access to my two factor authentication. Is there an easier way to solve this other than contacting each said website to reset my two factor authentication?

Google Authenticator stores data in the Keychain and does not include such data in backups. You cannot recover your generators from a backup because they are not stored in the backup in the first place. You will need to perform the 2FA recovery steps for each service you no longer have access the 2FA to.


Problems starting vnstat installed with brew After installing vnstat with homebrew:
brew install vnstat

and opening it, i got following error:
Error: Failed to open database "/usr/local/var/db/vnstat/vnstat.db" in read-only mode.
The vnStat daemon should have created the database when started.
Check that it is configured and running. See also "man vnstatd"

It seems, that the daemon is not running.

The solution was to start the service via brew:
sudo brew services start vnstat


Can't establish a ssh connection to my Mac OSX Yosemite I'm having a

ssh_exchange_identification: Connection closed by remote host

error when trying to ssh into my mac, from a linux VM

if I try with the verbose option I get this

ssh mac-user@192.168.1.11 -v
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.1.11 [192.168.1.11] port 22.
debug1: Connection established.
debug1: identity file /home/linux-user/.ssh/id_rsa type -1
debug1: identity file /home/linux-user/.ssh/id_rsa-cert type -1
debug1: identity file /home/linux-user/.ssh/id_dsa type -1
debug1: identity file /home/linux-user/.ssh/id_dsa-cert type -1
debug1: identity file /home/linux-user/.ssh/id_ecdsa type -1
debug1: identity file /home/linux-user/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/linux-user/.ssh/id_ed25519 type -1
debug1: identity file /home/linux-user/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2

I don't know what could be wrong, firewall options are ok.

Searching the web I found a temporary solution, disabling the "remote session" option and then using this command:

sudo $(which sshd) -Dd

Don't think its a propper answer.

This problem started when updating to Yosemite OSX.

Apreciate the help.

config.vm.boot_timeout - The time in seconds that Vagrant will wait for the machine to boot and be accessible. By default this is 300 seconds. (got this from) ServerFaqs

I'd increase this until you are able to vagrant ssh in.


Seeking a USB Flash Drive (nearly) flush with MacBook I am seeking a low-profile USB flash drive (in either 2.0 or 3.0) that would sit nearly flush with the side of the MacBook.

This way I can leave it in through reboot cycles, and hopefully find that macOS will mount it without needing to insert anew after every reboot.

The SanDisk "Ultra Fit" looked promising in Amazon's pictures, until I found that it protrudes quite a bit. It means that if I pull the MacBook from its bag and inadvertendly knock the flash drive, I will risk  also knocking the logic board—possibly a very nasty event.

Does there exist a solution that sits nearly flush with the side of a MacBook? Ideally it would protrude just enough so I can grab it when necessary, but even if I need a special tool (such as two tiny screwdrivers) to pull it out, that is also good.

Another option is from Elago

Do you have any experience with this product? Does it nearly vanish inside a MacBook?

I'm not aware of any such products with a USB connection, but there are several options for using an SD card slot in this way, if your model of MacBook has such a slot. Some of these are storage devices, while others are microSD card readers, but both types have the same functionality. Note that different models of MacBook have different depths of SD card slot, so make sure you get a product designed to work with your computer.

Here are a few examples:

Transcend JetDrive Lite (64-256 GB)
PNY StorEdge (128-256 GB)
BaseQi microSD adapter
MiniDrive Nifty microSD adapter


I want to share iOS apps with my daughter I want to share iOS apps with my daughter.

I have macOS 10.13.1 on my MacBook Pro.

In "System Preferences" I have selected "Share my purchases with family" in "Purchase Sharing" "My Apps & Services" but when I go to "Manage Family" (I am the organiser) the "+" button is greyed out and I cannot select it.

I actually have 2 accounts; the initial Apple ID, which I use for all purchases, and a second which I created for Contacts and Calendar etc to share across my Apple devices. The second is shown as family member for sharing.

I have solved the issue (after a hour with Apple support, which was escalated to an Expert).

The short answer; I needed to log out of the Apple ID which I use for Contacts and Calendar, and log into the original "Primary" Apple ID.

I could not do this, because "it was already logged in". This was "resolved" by deleting the ID in Internet Accounts.

I could then login as the old Apple ID, enable sharing, logout, then login as my iCloud ID.

In the mean time I could not login because I did not know the answers to the "Security Questions", and was prompted to enter new answers (which seemed to be designed for an American teenager, not an ageing man who can't even remember his time at school). It then INSISTED I change my password, and refused to accept most of my compliant attempts, for some undisclosed reason - this is where Apple became involved.


Can I convert a HFS+ volume to HFSX (case sensitive) without extra software tools? After upgrading from Snow Leopard to Lion with added volume encryption along the way, my boot partition wasn't case sensitive any more. Is there a way to convert it back to being case sensitive without reformatting? I know that iPartition claims to be able to do this, but I'm a little hesitant to shell out money for a tool that I'd probably use exactly once.

Sadly, no.

Your money or your time surely will soon be spent.


Is it possible to take multiple tabs out of Safari into a new window? On macOS Safari, you can create a new Safari window by dragging a tab out of the tab bar.
On Chrome across platforms, you can command (or control) click on tabs to select multiple tabs, and then when you drag out a tab it will create a new window with tabs.
I like this feature of Chrome and always try to do it in Safari. However, command clicking tabs does not select multiple tabs. Is there any way to take multiple tabs from a Safari window and convert them into a new window?

No, you cannot do that in one go with Safari like you can in Chrome. You have to first drag out one tab to make a new window, and then manually drag each following tab to that new window.


Different French keyboard layout There are 2 Mac French keyboard layouts.

The standard one :

And another one :

I would like to use the second kind of keyboard on Windows. Meaning now if I plug it, the keys don't match, what gets sent to Windows is not what appears on the keyboard. With the first type of keyboard I could install a "French" "Mac" keyboard layout, that worked well. Thus I am looking for the relevant keyboard layout to install on Windows.

Where can I find it, and what is it called ?

The reason I am saying that the second keyboard is "standard", is because on a Mac, if one takes a US keyboard (with the key shapes like the second picture), and selects "French" as input language, then the mapping is exactly the same as the second picture.

You would have to search online for a Windows keyboard called French (Apple).  I don't know if one exists.  And it would be for your top picture.  Your bottom picture looks non-standard and non-Apple.  All European keyboards should be ISO and have the extra key next to the shift in the bottom row.

You might need to make a custom Windows keyboard with the MKLC app.

https://www.microsoft.com/en-us/download/details.aspx?id=22339

You should probably really ask in a forum for Windows instead of Mac.


How does Apple know whom an inactive iPhone belongs to? I tried to log into my daughter's iMessage on an inactive iPhone. She called Apple because she got an email. They told her it was an iPhone 5c black. How did they know that? Do they know who the owner is? Is there a way to block my old iPhone so Apple can't trace it?

They store device information thats linked to the UDID of the device. As far as I know, they can't tell who the owner is for sure. Moreover, I also doubt you can block the old phone.


Document upload/sync with iTunes 11 I have updated iTunes to version 11 and I can't Find the spot where to upload and sync documents anymore (to use in iAnnotate for instance). I don't have a WiFi connection so iCloud syncing is not an option.

How can I sync documents in iTunes 11?

It's still there but the new views in iTunes can be confusing.

connect your iPad to your Mac
in iTunes, select the device in the top row on the right hand side (beside the button for the Store)
select "Apps" in the top row (about the middle of the screen)
the same Apps install screen as in iTunes 10 should be displayed, with the document box at the bottom


Music.app on iOS: use a different language other than the system language? As explained in the title, I want to use Music.app in a different language other than the system language.

However, unlike many other apps, it doesn't offer such an option in settings.

I'm wondering if it is possible to do so by tweaking appropriate plist files. If so, how?

Sadly, no - there’s no published setting to make this edit for Apple’s app. That doesn’t mean it’s not possible, just that it’s unknown.

Applying pressure to Apple for this may or may not be effective, and hopefully someone can document this and make my answer wrong or in need of an edit to explain how.


Can "defaults write" command line configure the menu bar on macOS? I would really like to use a script to enable these things on macOS High Sierra, by using defaults. I know how to create the script in .bash_profile, as I will use a function for it, and then just run the function in the terminal. However, what I'm missing are the actual strings to enable the following:

Displaying of Bluetooth icon
Displaying of Volume icon
Displaying of battery percentage
Displaying of full date

Are any of these programmatically settable by using Defaults, and have they changed a great deal between 10.6-10.13?

Ok, based on what IconDeamon said in the comments section for this post, I was able to go and edit ~/Library/Preferences/com.apple.systemuiserver.plist and was able to see a list of menus that I have enabled.

However, this does not necessarily take me to the place I want to go to. Ideally, it'd be good to find a list and be able to solve this. I mean, okay, now, thanks to help on this forum, I know that the ones I wish to display are:

/System/Library/CoreServices/Menu Extras/Script Menu.menu

/System/Library/CoreServices/Menu Extras/RemoteDesktop.menu

/System/Library/CoreServices/Menu Extras/Bluetooth.menu

/System/Library/CoreServices/Menu Extras/TimeMachine.menu

/System/Library/CoreServices/Menu Extras/AirPort.menu

/System/Library/CoreServices/Menu Extras/TextInput.menu

/System/Library/CoreServices/Menu Extras/Battery.menu

/System/Library/CoreServices/Menu Extras/Volume.menu

/System/Library/CoreServices/Menu Extras/Clock.menu

and that the menu can have a _5 or a _3 at the end to signify where it should go. But..? It's not exactly a user-writable textfile I can just edit.

This defaults write command will enable several menu-bar icons, including Bluetooth.

defaults write com.apple.systemuiserver menuExtras -array \
"/System/Library/CoreServices/Menu Extras/AirPort.menu" \
"/System/Library/CoreServices/Menu Extras/Bluetooth.menu" \
"/System/Library/CoreServices/Menu Extras/Clock.menu" \
"/System/Library/CoreServices/Menu Extras/Displays.menu" \
"/System/Library/CoreServices/Menu Extras/Volume.menu"

Changes will not take effect until you restart the SystemUIServer:
 killall SystemUIServer

If you want to enable additional items, look in ~/Library/Preferences/com.apple.systemuiserver.plist to find the specific name of the menu extra you are seeking.

Note: If you attempt to enable a menu extra that you do not have on your machine, the command will get stuck in an endless loop. Some users may not have the Eject.menu, for example.


HEX Code in Color Chooser for Mavericks? How can I get a HEX code entry into the Color Chooser for Mavericks?


How do i delete a group of files ending with specific characters? I'm trying to delete files that end with "_n.png" or "_s.png". How do i do that?

Assuming there are many files that meet the specifications and may be in more then one location, I'd use the find command from Terminal, as shown in the following simple example:

$ find . -type f \( -iname '*_n.png' -o -iname '*_s.png' \)
./Pictures/foobar_n.png
./Pictures/Temp/barfoo_s.png
$

In the output of the find command above, we see it found the two sample files I created for testing. As I'm sure those are the files I want to delete I run the same command but with adding -delete to it, as shown below:

find . -type f \( -iname '*_n.png' -o -iname '*_s.png' \) -delete

If all the files are in the same directory or you just want to delete these files in a specific directory, use:

cd /path/to/directory
rm *_[ns].png

NOTE: Using find with the -delete option or rm immediately deletes the files found, they are not placed in the Trash and they are generally not recoverable!

So do not use this commands unless you're okay with the note above!

If you prefer to use a GUI method, there is a nice freeware app by DEVONtechnologies, LLC called EasyFind and is available in the App Store or the developers website.

EasyFind - Mac App Store Preview
EasyFind - Developers Website

As you can see in the image below, EasyFind found the sample files created for testing. Simply select the ones you want to delete and then click Delete on its Toolbar to place the selected items in the Trash.

The nice feature of EasyFind is , with its various setting and controls, it's capable of making some searches that are not possible to perform in Finder while providing the user with a GUI interface, and without having to use Terminal.

Note that I'm not affiliated with the developer of EasyFind, just a happy user of the product.


Can the 2016 15-inch MacBook Pro (with Touch Bar) drive 4 external monitors? I'm wondering if the 15-inch MacBook Pro with Touch Bar that was announced on October 27, 2016 can drive 4 external monitors? It says it has 4 Thunderbolt 3 ports, but can the graphics card handle 4 monitors?

The 2016 15" MacBook Pro will support up to four external displays.

You can have either of the following two options:

Up to two 5K displays
Up to four 4K displays

Specifically per the tech specs of the 2016 MacBook Pro:

  Simultaneously supports full native resolution on the built-in display
  at millions of colors and:

  Up to two displays with 5120-by-2880 resolution at 60Hz at over a
  billion colors Up to four displays with 4096-by-2304 resolution at
  60Hz at over a billion colors Thunderbolt 3 digital video output

  Native DisplayPort output over USB‑C VGA, HDMI, and Thunderbolt 2
  output supported using adapters (sold separately)

The 13" model will support up to 2 external displays either

One 5K display
Up to two 4K displays


Get computer name from IP-address I have the IP address of a computer on my network but is there a way that with the IP address I can find the name of computer?

For example, if I know the IP address is 192.154.23.60, can I use this IP from my Mac to see the name, such as Jacob's MacBook?

From the Terminal.app (or equivalent) you can use the host command to show the network name of the computer. This returns the name even if it has all sharing settings turned off and thus not showing via Finder.

For example, in my network I get the following (where I know the IP-address and the first part of the returned name is the computer's name)

➜ ~ host 192.168.2.135

135.2.168.192.in-addr.arpa domain name pointer raspberrypi.private.lan.

It depends on the actual name of the computer if the network name is exactly the same, as in your example, I guess it would become Jacobs-MacBook.


What should I do after my iPhone was stolen? My iPhone was stolen, what can I do to protect my data and get the phone back?

Sorry to hear that, but if you have your iPhone setup with iCloud then most likely you have Find my iPhone setup and by following these instructions you'll be able to place your phone in Lost Mode and that person won't be able to view any of your content and if you have iOS version 7.0 (which you do, as the iPhone 5s shipped with iOS 7) or later then the phone will have an Activation Lock meaning that this person could never activate this iPhone even if they place the device into DFU mode.


Chrome sometimes doesn't detect two finger swipes in Macbook Air with Mountain Lion It happens in most of the sites I visit, and it's happend for the last months: two-fingers swipe to go back or forward don't work.

However, from time to time, there's some sites in which they work.

I have installed BetterTouchTool, which I thought might interfere, but I deactivated it and the same still happens.

I know I'm coming in pretty late but I too was facing this problem, so I thought I'll give the solution.

A hint - Don't use Chrome's in-built two finger swipe. I'm on Chrome 24 right now, so they've had ample opportunity to fix the problem since you reported it. But they haven't.

The problem actually is - web pages that are longer than the viewport and have content you have to scroll down to see will not work with the two finger swipe, the page will just slide up or down based on the direction you're pushing in.

The solution - use BetterTouchTool to define your own two finger swipes for Chrome. I did that and it started working instantly for Chrome. It works on all pages, regardless of whether they have scroll or not. I tested on a lot pf pages.

I know that this will not be as 'sexy' as Chrome's inbuilt swipe, but it works. You will also be dependent on BTT but I use it on so many apps that it remains on at all times.

I use BTT for three finger swipe in Finder to go back and forth and also for four finger tap to close a window (this works globally).

All the best!


Removing app from iOS app store and notifying users that the app is no longer supported We want to remove our app from the App Store and shut down the servers that support it. From what I've read, removing the app from the App Store will not remove the app from the devices of the existing users - and there is no way to tell users to remove it.

Is there a standard way to tell the users that the app is no longer supported? Should I just send the users a message (in the "message-box" feature that our app has)? Should I upload a new version which opens a popup message telling the user that the app is no longer supported - and remove the app from the app store a week later? Will apple review accept such app update, or turn it down claiming that the app is unusable?

I'm less concerned about the specific mechanics of shutting down which is also discussed here, but I'm looking for customary procedure or examples of how this is done well.

However you want to notify your users is up to you.  Doing so is not a technical question but more of a choice of whatever's easier/faster/convenient for you.  If you have the ability and desire to notify users before you shut down, my suggestion is to do that.  Users might not be happy with losing use of the app but at least you'll have the respect of knowing that you gave everyone ample notice.

There is no customary procedure because every app and user-base is different.  I would also recommend contacting your users with every method you have available.  If you can popup a message, do that; if you can send an email, do that; if you can post to Twitter/Facebook, do that.  There's no way to overcommunicate an app shutdown.

The only thing I would recommend against is creating an app update that just shows a message about the app shutting down.  Users will feel tricked and you'll have a mess and lost of confidence.

If users can still use your app without any further updates from you or without your backend services, let them use it.  Once you remove the app from the App Store, users will not be able to restore it from backup; once it's gone, it's gone.

UPDATE: Per discussion in the comments to this answer, there appears to be a difference between restores done via iCloud and iTunes. @Hitechcomputergeek points out iTunes can back up actual apps, while iCloud only backs up their data and re-downloads the app itself from the App Store (like if you had first downloaded it).


How to create a custom command for the terminal? Every time I make a new webpage, I do the following commands in the terminal.

touch index.html
mkdir stylesheets
mkdir javascripts
mkdir images
mkdir sass
open index.html -a sublime\ text

I wish to automate this. like I wish I could type

init newProject

and all the above commands would execute on its own.

Is it possible?

You can do it with various methods, here's the easiest one in my opinion:

Paste this line in your ~/.bash_profile

function initProject { touch index.html && mkdir stylesheets && mkdir javascripts && mkdir images && mkdir sass && open index.html -a sublime\ text; };

Save it and execute source ~/.bash_profile

Right now you can type initProject to get what you want.


cp command: Overwrite confirmation with file diff When running cp command to copy files, I would like to be prompted for overwrite confirmation, and, if possible, view the file diff confirming.

Is this possible? And if yes, how?

Ideal example:

$ cp file1.txt file2.txt
0a1,2
> 1.
>
2a5,6
> 2.
>
4a9,10
> 3.
>
Overwrite file2.txt? [Yes/No/Keep both] (default Y):

Placing alias commands in your bash profile will gain you partial overwrite protection. As others mentioned in your comments, you will need to write a script add the diff function.

I placed the commands below in my ~/.bash_profile.

Bash on macOS determines what file is your bash profile in this order:

~/.bash_profile
~/.bash_login
~/.profile

These commands tell cp, mv and rm to give you a warning when a file is to be overwritten or deleted:

alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
# Placing a blank after sudo causes alias substitution
# for sudo's inner commands . See Gordon Davisson's comments below for
# details.
alias sudo='sudo '

This example, assumes you have placed the above commands in your bash profile.

mac $ touch a
mac $ touch aa
mac $ cp aa a
overwrite a? (y/n [n]) n
not overwritten
mac RC=1   $ rm a
remove a?
mac $ mv aa a
overwrite a? (y/n [n]) n
not overwritten
# demonstrate sudo protection
mac $ touch inin
mac $ sudo cp inin hihi
overwrite hihi? (y/n [n]) n
not overwritten
mac RC=1   $ sudo mv  inin hihi
overwrite hihi? (y/n [n]) n
not overwritten
mac $ sudo rm inin hihi
remove inin? y
remove hihi? y
mac $

These alias command do not protect you in all circumstances like when you invoke a new shell or run cp, mv or rm from within other commands like find.

P.S.: The aliases mentioned above use the same name as the original command, thereby shadowing it. To access the original un-aliased command, prepend it with a \ character (E.g., \cp, \mv, \rm etc.).