Stop El Capitan from asking to report to Apple every time I force quit an application Every time I force quit an application from Activity Monitor, I get a pop-up saying "You have forced  to quit. Click Report to see from detailed information and sent a report to Apple.". It gives me the option to Ignore or Report.

Is there a way to stop getting this notification altogether? In System Preferences > Security & Privacy > Privacy > Diagnostics & Usage I already have everything unchecked.

I found this on the web and also tried writing this on the terminal

  defaults write com.apple.CrashReporter DialogType none

But this didn't help either.

Using defaults write com.apple.CrashReporter DialogType none really should disable it, just like using defaults write com.apple.CrashReporter DialogType crashreport should switch it back on.

However, if it's not working for you, you can try the following two commands:

launchctl unload -w /System/Library/LaunchAgents/com.apple.ReportCrash.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist

To undo the above change, you would use the same two commands, but replace unload with load in each.

Use a notification instead

Removing the Crash Reporter may be overkill for some users, so another option is to change this to a notification instead. To do this, use:

defaults write com.apple.CrashReporter DialogType UseUNC 1

The advantage of this is you still get notified if an app has crashed, but you don't have to respond in any way (nothing to click on). To undo this change you would use the same entry but replace the 1 with a 0.


There is no photo library but pictures are still visible in Photos app I learnt that by default the Photos app maintains a photo library within the pictures folder of my user account on my MacBook Pro. However, there is no such library in the pictures folder. I have searched thoroughly, but cannot find it in any other location either! Even so, my Photos app still displays my photos.

What could be the reason for this? Where's my Photos Library?

The default location for the photo library is ~/Pictures/, but it's possible that it's different for you. Open the Photos app, open the Preferences pane and the General tab will show you the location of your photo library.


Are there any keyboard shortcuts to switch between tabs in terminal? Are there any keyboard shortcuts to switch between tabs in terminal?

Select Next Tab: ⌘+} (selects the tab to the right of your current tab)

Select Previous Tab: ⌘+{  (select the tab to the left of your current tab)

These are the shortcuts listed under the Window menu, but I think it would make more sense to say ⌘+⇧+], since that's actually what you type.

Since there are menu items that these shortcuts trigger, you can use System Preferences-> Keyboard-> Keyboard Shortcuts-> Application Shortcuts (or App Shortcuts on newer OSX versions) to reassign the shortcuts to whatever you want. For Terminal, choose Other..., then, under Applications, go to Utilities -> Terminal.app:


2011 Mac mini fan always on I just started having problems with my Mid 2011 Mac Mini — it's fan is continously on although the computer temperature is relatively low and not a lot of CPU is being used. I'm very nervous about this because my last Mac Mini died due to overheating issues.

I realize this may be a common problem, but I specifically would like to know about two keys that appear when I run iStats:

$ istats scan
Scanning keys...

Tp0C Unknown  43.45°C  ▁▂▃▅▆▇
TA0p Ambient temperature  40.38°C  ▁▂▃▅▆▇
TA0P Ambient temperature  40.38°C  ▁▂▃▅▆▇
TA1p Ambient temperature  34.63°C  ▁▂▃▅▆▇
TA1P Ambient temperature  34.63°C  ▁▂▃▅▆▇
TCGc PECI GPU  59.0°C  ▁▂▃▅▆▇
TCGC PECI GPU  59.0°C  ▁▂▃▅▆▇
TCPG   98.0°C  ▁▂▃▅▆▇
TCSc PECI SA  50.0°C  ▁▂▃▅▆▇
TCSC PECI SA  50.0°C  ▁▂▃▅▆▇
TCTD Unknown  0.16°C  ▁▂▃▅▆▇
TCXc PECI CPU  57.19°C  ▁▂▃▅▆▇
TCXC PECI CPU  57.19°C  ▁▂▃▅▆▇
TC0c   53.0°C  ▁▂▃▅▆▇
TC0d   51.0°C  ▁▂▃▅▆▇
TC0p   46.13°C  ▁▂▃▅▆▇
TC0C CPU 0 Core  53.0°C  ▁▂▃▅▆▇
TC0D CPU 0 Die  51.0°C  ▁▂▃▅▆▇
TC0E CPU 0 ??  58.81°C  ▁▂▃▅▆▇
TC0F CPU 0 ??  62.41°C  ▁▂▃▅▆▇
TC0G CPU 0 ??  94.0°C  ▁▂▃▅▆▇
TC0J CPU 0 ??  1.59°C  ▁▂▃▅▆▇
TC0P CPU 0 Proximity  46.13°C  ▁▂▃▅▆▇
TC1c   56.0°C  ▁▂▃▅▆▇
TC1C Core 1  56.0°C  ▁▂▃▅▆▇
TI0p Unknown  38.25°C  ▁▂▃▅▆▇
TI0P Unknown  38.25°C  ▁▂▃▅▆▇
TI1p Unknown  36.5°C  ▁▂▃▅▆▇
TI1P Unknown  36.5°C  ▁▂▃▅▆▇
TMBS Unknown  50.0°C  ▁▂▃▅▆▇
TM0p Unknown  40.0°C  ▁▂▃▅▆▇
TM0P Memory Slot Proximity  40.0°C  ▁▂▃▅▆▇
TM0S Memory Slot 1  40.8°C  ▁▂▃▅▆▇
TPCD Platform Controller Hub Die  45.0°C  ▁▂▃▅▆▇
TP0p Unknown  43.25°C  ▁▂▃▅▆▇
TP0P Unknown  43.25°C  ▁▂▃▅▆▇
TW0p Unknown  38.25°C  ▁▂▃▅▆▇
TW0P AirPort Proximity  38.25°C  ▁▂▃▅▆▇

Done scanning keys.`

As you can see everything is a somewhat normal temperature except for the TCPG and TC0G keys, which are close to 100 degrees Celsius. Would anyone be able to tell me what these keys are, and how I could address this issue?

The reason why I'm getting really high readings is because I'm using a third-party SSD which doesn't have Apple's thermal detectors included.


Cant remove stalled (inProgress) Time Machine backup I have recently switched to a newer MBP from a TM backup. Unfortunately something seems to have gone wrong during the migration. TM cannot complete a backup, it just keep accumulating into a directory, with .inProgress suffix.

After a bit googling I found this answer, which suggests removing the folder by moving it to the Trash. That doesn't really work as it just says Removing files, but there is literally no progress after hours. I tried to remove the folder from the terminal, that's a no go due to Permission Denied.

I tried to change to a admin account, then do a sudo rm -rf and that results in Operation Not Permitted. Do I need to disable csrutils just to be able to repair a stalled backup?

Suggestions?

tmutil listbackups shows you a list of the backups found on your Time Machine disk.
To delete a backup shown in this list, run

tmutil delete /path/to/backup.inProgress


MacBook Pro not noticing all files after cancelling and retrying Migration Assistant I bought a new MacBook Pro and tried to transfer all of my files from a 5-year-old MacBook Pro using the Migration Assistant. Both of them are running OS X 10.9.3 (Mavericks).

It seemed to be working fine but it told me that I had to wait 20 hours and I didn't want to wait that long. It said that plugging in an ethernet cable would speed up the transfer. I tried that (via a Thunderbolt adapter on the new Mac) and it didn't seem to do anything. I then cancelled the migration by pressing command + Q.

I am trying it again and it doesn't seem to notice all of my files. On the new Mac, it says I only have 157 KB of data on the old one, even though I have a lot more than that. I tried transferring it anyway and it just restarted right away while the old one said it was trying to reconnect with the new one. I don't see any of my files on the new one.

I tried booting with Command + R and reinstalling the OS on the new Mac but that didn't seem to do anything.

Here is what I see on the new Mac:

What can I do to properly transfer my files?

I recently experienced this issue as well. I hypothesize that the backup is being staged in a cached folder while it completes at which time it'll write the dirs into the proper file structure. To reclaim the diskspace, simply quit migration assistant. Login as a user and restart your Mac. By doing this it cleared out the cached migration and i could start again.


Are Logic Pro 8 projects working in Logic Pro 9? I'm doing some software tests in my company and one question is wether old files can be opened in new programms. According to my google-fu it is possible to open Logic Pro 9 projects in LP 8, but is the opposite possible as well (open LP 8 projects in LP 9) - that's where my google-fu left me?

Yes the session files are fully compatible both ways.
Options or plugins from PT9 that are not available in PT8 are automatically disabled (and vice versa).

Track routings are obviously not working if the originally used audio-interface is not available. You'd have to re-route.


How to get rid of the "Flash Player Auto Update Daemon” popup? Since the launch of Catalina I've been getting this popup about "Flash Player Auto Update Daemon" that I cannot figure out how to get rid of, even though I'm still using Mojave.

I know it's a 32-bit app but I can't find it in the Applications folder. I checked the Legacy Software list, I see the suspect: fpsaud.

I found its folder /Library/Application Support/Adobe/Flash Player Install Manager. Can I simply delete this or is anything going to break? Is there another way to get rid of this popup?

Following what I found and @fsb comment, I deleted the folder /Library/Application Support/Adobe/Flash Player Install Manager with all contents and /Library/LaunchDaemons/com.adobe.fpsaud.plist, no more Flash update popups!


How to move image to particular time in iMovie? So I have been trying to add image to my iMovie. The problem is I want to add the image at for example 2:00 min. But whenever I drag the image to the project, it always goes in the beginning of the movie. Is there a way I can just drag and drop it to whatever time I want to add it to. This seems to be pretty intuitive but not able to do this.

Click on 1 of your highlighted images and drag it into the clip editing/viewing timeline screen to the left diagonal of the photo display screen. You can drag these images anywhere in the timeline. Hope it helps.


Temporarily disabling RAM to mimic a lower spec machine? I've got two 2009 Macbooks. One has 4 gigs of RAM and runs os 10.10; one has 2 gigs and runs os 10.5.

I'm considering upgrading the latter machine to Yosemite (10.10), but I'm worried that it will run slowly with so little RAM. In order to get a sense of what the performance would be like, I'm wondering if there's some way I could "turn off" half the RAM in the higher spec machine. If I did this, I could get a sense of how Yosemite would run on the 2 gig machine before actually doing the upgrade.

Is there some way to temporarily disable RAM without physically removing the chip?

There's no need to take out RAM, create a RAM disk or use a VM.  Simply boot the OS using the maxmem= boot flag value that's been created for this purpose and been around for decades.

Simply open Terminal as a sudoer and enter

sudo nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

After entering your password change

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs$
<plist version="1.0">
<dict>
        <key>Kernel Flags</key>
        <string></string>
</dict>
</plist>

to

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs$
<plist version="1.0">
<dict>
        <key>Kernel Flags</key>
        <string>maxmem=2048</string>
</dict>
</plist>

and write the changes to disk with ctrlo and quit nano with ctrlx

Restart your Mac to apply the changes.

To revert the changes remove 'maxmem=2048' with nano again.


How do I determine which app is trying to invoke Google Chrome? For some reason, Google Chrome was randomly starting up on my system. I uninstalled it, and now I occasionally get the "Choose Application" dialog, which asks "Where is Google Chrome.app?"

How can I determine which application on my machine is trying to invoke Google Chrome?

(Note that I have "Google Chrome Canary" installed, and it is set as my default web browser).

Two places come to mind immediately.

Start up Safari and make sure Google Chrome isn't the default browser.
Clean up your launch services database.

Since you have already done #1 - redoing it won't likely matter but your safari pref file storing this setting could be corrupt.

Item 2 needs more explanation - Use Finder to right click on a text or html file - if you still see Chrome in the Open With... dialog you might want to manually rebuild the launch services database.


Reinstall iOS preserving apps and data Can I reinstall iOS (11) but preserve installed apps and data? I'm having some issues with my phone and I'd like to try reinstalling iOS but I'd rather not have to restore all of my apps and data as that would be slow.

Yes. By doing an iCloud backup (not iTuens) you only preserve apps, data and most basic settings. Phone will look the same after you recover from an iCloud backup.

Doing the same but with local Itunes backup will preserve absolutely Everything.

To reinstall ios on the iPhone you can either connect it to Itunes and do the procedure from there or directly on phone by going:

Settings --> Generall --> Reset --> Erase all content and settings.

Unfortunately this is not documented anywhere so i can not reference it but from personal experience this is my knowledge.


Turn Off macOS Mojave Screenshot Preview Thumbnails with defaults write command I'm reading this article, it works.

But how can I turn off macOS Mojave screenshot preview thumbnails with defaults write command?

I just don't know the key value to use.

The domain is com.apple.screencapture and the key is show-thumbnail.
So:

defaults write com.apple.screencapture show-thumbnail -bool TRUE

and

defaults write com.apple.screencapture show-thumbnail -bool FALSE


How stop my IDE from showing hidden files on Sierra? I have disabled hidden files in the Finder on macOS Sierra, but they still show up in my text editors, such as Visual Studio Code, Sublime Text and PhpStorm.

I have already tried

defaults write com.apple.Finder AppleShowAllFiles NO
killall Finder

This works for the Finder but not for any text editor.

It's up to individual apps to decide whether to show hidden files and to provide options to change it.

The ‘AppleShowAllFiles’ key is written to ‘com.apple.Finder’, so it only applies in Finder. Finder's GUI option for changing this setting is ⇧⌘..
Other apps may have their own options, which you'll need to investigate on a per-app basis. For example, How do I hide certain files from the sidebar in Visual Studio Code?.


Cellular Data Number is "Unknown" on some iPads Dealing with numerous iPads (3G and LTE), all with the same telco.

If I go to Settings, General, Cellular Data Number, some iPads display the number fine (e.g. +11234567890).

On others, it shows "Unknown"

There doesn't seem to be any pattern or any rhyme/reason to it (e.g. iPad model, iOS version, SIM card age). Some show up, others don't.

The only fix I've discovered is to have the telco "push an updated profile" to it (not an "iProfile" - some sort of telco profile).

This fix works (after a device restart) but I'm wondering if anybody else has encountered this and found a way to avoid the problem in the first place?

This occurred when cellular data was turned Off.  I turned it on and the number appeared.


Tool for drawing bezier lines - inspector for the length of the line Looking for a tool what allow me:

draw shapes with bezier lines
the inspector shows the length of the line

For example OmniGraffle allows draw a shape with bezier lines, but it doesn't show the length of the line e.g. for the following image omnigraffle show shows only the width and height of the bounding box.

I need the length of the line.

Any such tool?

Just found:

The Inkscape could measure the path length:

select the path
click Extension -> Visualise path -> Measure path

It will attach the length of the path into image. Not the native OS X app (needs X.org), but works OK, and it is free.


In AppleScript, what is the "ctxt" variable class? In trying to learn about data types in AppleScript, I referenced these web pages:

http://www.satimage.fr/software/en/smile/computing/as_types/as_data_types.html

http://macscripter.net/viewtopic.php?id=24695

However, when I return the class of some of my AppleScript variables, I am given the class of "ctxt". Obviously, "txt" is short for "text". But "ctxt" is not mentioned in the above guides.

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

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

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


Launching the Notes app subsequently launches the Calendar App as well Whenever I launch the Notes app, the Calendar app launches as well. I use the Notes app a lot and this can be very frustrating. I updated to High Sierra 10.13.5 to see if it would solve the problem, to no success. When calendar opens it asks something about subscribing to a calendar. The message is shown I am on an iMac.

How can I solve this problem?

You should check to see if there is a webcal URL in a note somewhere in Notes.app.

If there is, Notes will open Calendar.app and ask you to subscribe. If you don't actually want to subscribe to this calendar, just delete the webcal URL in the note (or delete the note entirely) and Calendar should not open again.


Fixing old G3 and G4 laptops After I replaced the hard drive in my old iBook G3 (with the help of iFixit guides), it will not boot connected to mains power, only with the battery. It also always returns its date/time settings to its "zero-hour", when it left the production line.

The G4 suffered a fall and no longer "finds" the HD to start. In addition it has a yellow vertical line on the monitor at the beginning of its rightmost third part to the left.

I suspect a logical board problem on the G3, and some physical damage on the G4's HDD.

Your G3 probably has a dead motherboard battery.  Depending on the model, they are usually not that hard to replace and cost between $2 and $30.

As for the G4, I'd say physical damage from the fall is a pretty good assumption.  Since it sounds like multiple components are damaged, it may not be worth the effort to fix unless you just like to tinker.


Will erasing all data and settings affect my previous upgrade? I’ve just erased all data and settings in my iPhone 3GS. I’ve upgraded to the latest iOS (6.0.1) before that. Will erasing all data and settings affect my previous upgrade?

No. The OS updates exist apart from any user data that would (or would not) get cleared by an erase all content and settings operation.

A restore will also restore the same OS as was on the device unless iTunes both sees a newer version of the iOS and you have told it to upgrade to that newer OS. Anything you do on the device in terms of resetting and erasing will not revert an iOS update or upgrade.


When I open a minimized window, I don't jump to the space it opens in I have a new hard drive with Mavericks, and I didn't have this problem on my old Mountain Lion install, so I'm sure there's some new setting somewhere I'm missing...

I have a lot of spaces open, and Google Chrome windows in all of them. I also have some Chrome windows minimized on the dock. Let's say for example that I'm in Space 1 using a Chrome window, and the minimized Chrome window was last active in Space 4. When I click the minimized window to open it, it animates up and fills the page in Space 1, where I am. Then it automatically moves the previously minimized window to Space 4. (So far, so good.) The problem? It doesn't automatically switch to Space 4. I'm still in Space 1, even though I clearly wanted to view the window I just un-minimized.

When I was using Mountain Lion, it automatically switched me over to Space 4. Any idea why this isn't happening now, and what I can do to fix it?

You need to go to System Preferences > Mission Control, and find "When switching to an application, switch to a Space with open windows for the application"

You need to check this box.


Windows bootcamp file path on 2008 Intel iMac My iMac hdd is starting to go and I am trying to recover files I had on the Windows OS through boot camp. I cant seem to find the path to get to my Windows directory. the only way I can get in the hdd is while I am in single user mode. I tried to connect as an external hdd to pc but it would not initialize the disk and when connected externally to Mac it does not even see it. In single user mode I can explore easily but I cant seem to find where the files are.

The problem here is you are not specific about what you mean by "My imac hdd is starting to go." Being specific and detailed will always get you a better answer.

That said I can (hopefully) infer that there is some sort of error that has messed up a computer's ability to actually read the drive. This could be something as simple as directory corruption (reparable with something like Diskwarrior, Drive Genius or Tech Tool pro) to an actual physical error with the drive mechanism or circuitry.

The fact that neither a PC nor a mac can read the drive indicates (at least) the former. And trying a commercial disk repair tool would be my first suggestion.

Also Boot Camp actually partitions the hard drive and segregates all Windows files on a partition completely separate from the Mac O/S files. So when you boot into single user mode you are booting into the Mac O/S and browsing the Mac O/S partition.

There may be a way to mount the Windows partition in single user mode, but I just don't know how.

When you connected your iMac as an external HD (target disk mode) did your PC even see the Mac's drive? You would know by right clicking on the computer icon and selecting MANAGE. then go to disk management and look for the Windows Partition on the Mac drive that you just connected. I have never tried this and am not even sure if it will work.


USB device drawing too much power resulting in whining fan noise I have suddenly started getting the error message and exactly the same time there is now a loud fan noise on the left side of my Mac Book Air.
I have tried the safe boot mode I have seen on other threads and the message has gone but the noise is still there.
Everything also now loads really slowly. I can't get a genius appointment until next week so if anyone can help that would be great!!

Try resetting the SMC -- Apple recommends this if you are experiencing, among other things, fan and power issues, as well as slowdowns:

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


How do I open a generic URL from AppleScript? I like to open custom URLs, such as "myscheme://a/b/c" from my AppleScript code.

This is not about opening http URLs in a web browser. This is about getting the same result as when you create an .inetloc file in the Finder and then open that file in the Finder, or invoking this code in a macOS app written in ObjC:

[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString: @"myscheme://a/b/c"]];

If myscheme is properly registered in the Launch Services Database to open a particular application, then you can use the open location command, which: "Opens a URL with the appropriate program."

Use as in the following examples:

set theURL to "myscheme://a/b/c"

open location theURL

Or directly:

open location "myscheme://a/b/c"

Have a look at the AppleScript Language Guide and more specifically, the open location command.


How to get Apple News App in iPhone 5 (India) I have iPhone 5 and iOS 9.2 installed right now in my phone but still i am not getting Apple News app in my phone.

Can any one let me know how can I get that application on my iPhone 5 (India).

See: iOS 9 Feature Availability § News

News is only available in Australia, USA, and the UK.

This is also more "explicitly" stated in the fine print at the end of the iOS 9.3 Preview page.

Features are subject to change.

News is available only in the U.S., UK, and Australia.
May not be available in all regions.


AppleScript - "Close tabs to right of current tab" in Safari 7 I have been using the AppleScript below as an Automator service in order to get Safari to close all tabs to the right of the current tab. However I have updated to Mavericks (10.9) and find that this no longer works.

Can anyone advise how this AppleScript should be changed in order to make it work again?

Here's the script:

    tell application "Safari"
  set indexActive to index of current tab of window 1
    repeat until (get index of last tab of window 1) = indexActive
        close last tab of window 1
    end repeat
end tell

Your script still worked in my limited testing, but you could also try something like this:

tell window 1 of application "Safari"
    close (tabs where index > (get index of current tab))
end


Why is Time Machine using 180 GB of my 250 GB for backups? So this may be a misunderstanding as I am still getting to know my MacBook Pro, But can the majority of an internal drive be occupied by Time Machine backups?

I was looking at the space taken up on my 250 GB drive, and noticed it was down to 43 GB free. I was perplexed to say the least. So after a bit of digging I went into About this Mac -> Storage, and discovered 180 GB taken up by backup. I was even more confused because I use time machine on an external drive. I am not certain of the logic, I have tried to solve this myself but I no idea as to how to remove this dumb backup on the mac's HD. Maybe I am the dumb one, anyways could someone please explain to me how to fix it.

Since OS X 10.7 (Lion), Time Machine (if enabled) keeps local snapshots on portable Macs. This gives you Time Machine-like access to recent backups, in case you need to restore a deleted or modified file (however you still need a proper external backup to protect against disk failure). This is what the Backups item is measuring.

This feature isn't enabled by default on desktop Macs (are you sure you have a Mac Pro, and not a MacBook Pro? One is a laptop, the other is a desktop), but can be enabled by running sudo tmutil enablelocal in Terminal, and disabled by running sudo tmutil disablelocal (you will be prompted for your password in both cases).

As noted in Apple's KB article on the subject, once free space on your disk falls below 20%, it will start trimming older local snapshots, and it will speed up this process if it falls below 10%. So if you do nothing, you should see your drive space return to approximately 50 GB free. You can continue to store new things on your hard drive without fear of running low on space, as Time Machine will just slowly trim away snapshots as you add new data.


Terminal App: What comes after connection? I want to use an SSH connection to upload large photo files to a server.  FTP taking 10 minutes per photo.  Someone suggested SSH; I have managed to get the computer connected to the server, but I don't know what to do next.  Shouldn't there be a window showing available files both local and remote server?  Shouldn't I be able to drag and drop from local to specific folder on server?  Where is this???

Thanks for anything helpful.

secure shell, ssh, is a command line based method of talking to another computer. By default, there is no graphical interface associated with ssh.

Speed

The speed of your upload is probably limited by your Internet connection. The protocol used to transfer the files will make a difference but it may not be significant.

Domestic quality Internet connections tend to have much slower upload speeds than download speeds. This is particularly true for ADSL based connections. VDSL, cable, and fibre connections offer faster upload speeds.

Try running a speed test on your Internet connection. What values do you see? Is the upload number much lower than the download?

If you are transfering thousands of small files, an alternative protocol is probably worth trying. If you are transferring tens or low hundreds of larger files, ftp will likely go as fast as any other method.

Command Line - rsync

From your question, it sounds like you have ssh access to your server. This is great. If you are comfortable with the command line, you can use a tool like remote sync, rsync, to perform the file transfer. See Fastest and safest way to copy massive data from one external drive to another for more about this approach. With rsync you will end up issuing a command something like:

rsync -rv --progress '~/Pictures/My Photos/' user@sftp.server.com:~/Pictures/

Alternative command line tools to rsync include scp.

Graphical Interface - CyberDuck

Alternatively, consider using a tool like CyberDuck to connect to and securely transfer files to your server. Try using the same server address as with ftp but instead use sftp; note the addition of an s. This stands for secure. sftp will give you a File Transfer Protocol (FTP) connection over a secure connection, much like ssh.


If I quit Terminal.app, do processes that it initiated quit with it? If I use Terminal to initiate a time-consuming process (in this case, deleting a large .sparsebundle file on my Time Capsule, which could take hours) and if I then quit the Terminal app itself before that process has completed, does that ongoing process (the deletion) also quit? Or does Terminal just act as the 'trigger' and the process runs autonomously regardless of whether Terminal.app is active or not?

For the command to continue after closing the Terminal application window, you need to do the following.

Precede the command with nohup. This will allow the command to continue after the Terminal application window is closed. This also allows the command to continue after the quitting the Terminal application.
Redirect standard out and standard error to the same or different files. This gives the output someplace to go, otherwise the default will be use. (See the man page below).
Append a & to the end of the command line. This runs the command in the background, otherwise you will not get a command prompt until the command finishes.

For example, if I wanted to use the find command to search for the file readgpt and print the results to a Terminal application window, I would execute the command given below. Note: Here, I do not care about the error messages, so I redirected standard error to /dev/null.

find / -name readgpt -print 2>/dev/null

Now, if I wanted to close the Terminal application window and view the results later, I would execute the command below.

nohup find / -name readgpt -print >~/Documents/results.txt 2>/dev/null &

After entering the above, you will get a job number in brackets followed by a process number. An example is given below.

[1] 1456

You can get the status of this process by entering the ps command, as shown below.

Marlin:~ davidanderson$ ps 1456
  PID   TT  STAT      TIME COMMAND
 1456 s001  U      0:06.83 find / -name readgpt -print

You can terminate this process by entering the kill command, as shown below.

Marlin:~ davidanderson$ kill 1456
[1]+  Terminated: 15          nohup find / -name readgpt -print > ~/Documents/results.txt 2> /dev/null

  Note: If you enter the kill command in a window that differs from one used to create the process, then there probably will be no output.

The man page for the nohup command is given below.

NOHUP(1)                  BSD General Commands Manual                 NOHUP(1)

NAME
     nohup -- invoke a utility immune to hangups

SYNOPSIS
     nohup [--] utility [arguments]

DESCRIPTION
     The nohup utility invokes utility with its arguments and at this
     time sets the signal SIGHUP to be ignored.  If the standard output
     is a terminal, the standard output is appended to the file nohup.out
     in the current directory.  If standard error is a terminal, it is
     directed to the same place as the standard output.

     Some shells may provide a builtin nohup command which is similar or
     identical to this utility.  Consult the builtin(1) manual page.

ENVIRONMENT
     The following variables are utilized by nohup:

     HOME  If the output file nohup.out cannot be created in the current
           directory, the nohup utility uses the directory named by HOME
           to create the file.

     PATH  Used to locate the requested utility if the name contains no
           `/' characters.

EXIT STATUS
     The nohup utility exits with one of the following values:

     126     The utility was found, but could not be invoked.

     127     The utility could not be found or an error occurred in
             nohup.

     Otherwise, the exit status of nohup will be that of utility.

SEE ALSO
     builtin(1), csh(1), signal(3)

STANDARDS
     The nohup utility is expected to be IEEE Std 1003.2 (``POSIX.2'')
     compatible.

BUGS
     Two or more instances of nohup can append to the same file, which
     makes for a confusing output.

BSD                              July 19, 2001                             BSD


How to restore less recent Whatsapp backup from iCloud drive? My Whatsapp iCloud backup didn't restore any chat history. I did backup about 100mb file to ICloud drive. However, when I tried to restore the backup, It was just one chat message and not the full chat history. I logged in to iCloud drive to find any backup files. But I don't see any backup files there either. Is there anyway to access my missing backup file or restore it?. I use iPhone 6s.

Do you backup WhatsApp messages in WhatsApp settings or iPhone Settings? If so, you cannot access or view the backup files in iCloud Drive because it is not saved in iCloud Drive. It is unreachable like your iPhone backup.
As for the situation that you just got one chat history back, I think it is a bug. You can reinstall WhatsApp and try again.


Batch-remove mkv titles only, no re-encode Prompted by the answer to Any way to edit metadata of MKV files (without re-encoding)? it appears I should be able to do this with mkvpropedit, part of MKVToolNix.
TL:DR
All I want to do is remove any title, so VLC tells me the show title & episode number, as listed in the filename - not who helpfully ripped it so I didn't have to rip all my own DVDs. I don't even have a DVD player in the TV room any more, I'm putting it all on a Mac Pro.
I've tried doing this in the GUI of MKVToolNix but it seems I can only do one file at a time & I have dozens.
My intention would be to be able to save something as perhaps a script/automator applet, to make it drag & drop in future, see if I've missed some option in the GUI editor that would let me batch edit, or indeed find another tool which is capable of batch editing.
Essentially, this is what I'm trying to achieve, just not one at a time…

Per comments, app contents…

Edited to remove early guesswork, no longer needed

I was a bit unsure about trying a Java GUI app add-on for this, but I got it going reasonably easily.

Linked from MKVToolNix's GUIs and batch operations page I found JMkvpropedit

I couldn't initially persuade it to see the mkvpropedit binary inside MKVToolNix, either from its own file-picker dialog, drag & drop or even editing the file path [it won't edit or paste], so like a true newbie, I just copied it out of the app's 'Show Contents' into my Apps folder - tadaah! Now it can find it & use it.

After that it was simple.
Drag set of files onto the Input tab.
On the General tab, check Title & add {file_name}
Click Process files.
Done in seconds.


Record iPhone's Screen and the audio with Quicktime? I know that I can record the phone's screen, but I want to record my phone audio too. I prefer for it not to hear the sounds around me (due to my house being loud).

I tried soundflower and loopback. I might do it wrong. And no, its not same as Screen recording, its Movie recording. I'm doing Walkthrough for the game which has voice characters.

iPhone 5C
Mac 10.11.4

You don't need any third-party service; This feature is built right into QuickTime. So just connect your iPhone to your Mac, open QuickTime, click on File > New Movie Recording (CommandOptionN), and it will show your iPhone screen. But in order to record it's audio too, click the little downward arrow next to the record button, and under "Microphone" choose "(your name)'s iPhone" (by the way if it doesn't show you your iPhone's screen make sure to select your iPhone under "Camera" too, though it should be selected by default). Then just hit record and it should do the trick.


Macbook Air 2011 only wakes from sleep if plugged in I've had trouble getting my macbook air (with 10.7) to wake up.  Sometimes, when I open the laptop, it doesn't wake up - no matter what buttons I press, how many times I open or close it, or what I plug in to the USB port (though I haven't tried plugging in much).

However, so far, I can get it to wake up by plugging in the power adapter.

Any idea what is causing this, or what I can do to wake it up if I don't have a power adapter handy?

EDIT: Used pmset's log to find the "bad times".  In the messages below, 12:03 was when I shut the machine, 1:13 I was asleep, the computer was sitting on its own with nothing plugged in.  7:57 was when I woke it by plugging it in; I had tried for about 10 minutes prior to that to wake it by other means.

Time stamp                Domain                Message                                                                         Duration        Delay
==========                ======                =======                                                                         ========        =====
UUID: 51214312-4FF5-4235-A234-06663390AD26
12/15/12 12:03:08 AM MST sleep                  Clamshell Sleep: Using BATT (Charge:84%)                                        4207 secs
12/15/12 12:03:08 AM MST timedout               Kernel: Response from Google Chrome He timed out                                                30000 ms
12/15/12 1:13:15 AM MST  Dark Wake              DarkWake due to EC.SleepTimer: Using BATT (Charge:83%)                          0 secs
12/15/12 1:13:15 AM MST  slowresponse           PMConnection: Response from AirPort configd plug-in is slow (powercaps:0x19)                    277 ms
12/15/12 1:13:15 AM MST  slowresponse           PMConnection: Response from IPConfiguration is slow (powercaps:0x19)                            278 ms
12/15/12 1:13:15 AM MST  slowresponse           PMConnection: Response from SystemUIServer is slow (powercaps:0x19)                             283 ms
12/15/12 1:13:15 AM MST  sleep                  Maintenance Sleep: Using BATT (Charge:83%)                                      24276 secs
12/15/12 1:13:15 AM MST  timedout               Kernel: Response from Google Chrome He timed out                                                30000 ms
12/15/12 1:13:19 AM MST  slowresponse           PMConnection: Response from AirPort configd plug-in is slow (powercaps:0x0)                     4085 ms
12/15/12 7:57:51 AM MST  wake                   Wake from Standby  : Using AC (Charge:83%)                                      1056 secs
12/15/12 7:57:53 AM MST  slowresponse           PMConnection: Response from SystemUIServer is slow (powercaps:0x1f)                             1549 ms
Sleep/Wakes since boot:70   Dark Wake Count in this sleep cycle:1

It's hard to know if this is a hardware failure or a software issue, but the first step is opening terminal and running some power management tools to see what is really happening.

 pmset -g log

The above command will dump a very long log you can save to a file by copying it or redirecting the output like pmset -g log >> ~/Desktop/sleep.log and looking over the times when it slept and woke properly. Perhaps it's going to have a hint what is happening when the wakes do not work.

Secondly, you could run pmset -g pslog in a second window and let it run. When you sleep and wake, it should log those power events in real time. The next time it needs a power adapter to wake you can review the events that led up to that failure. It also lets you see what's happening when you test sleep and wake.


Remove A Scratch From The Lid Of A Unibody Macbook Pro Is there a way to remove a slim scratch from the lid of a three month old unibody Macbook Pro?

I use car wax on my MacBook lid/palm rest. It works great. It even leaves it super shiny and smooth. I do it every now and again. I do the same to my iPhone and MagicMouse. I'm a bit of a neat freak in that way, but I figure I spent a lot on these so I want to keep them in good shape.


Changing path of Xcode Server I'm running Xcode Server on my Mac Mini, and the HTTP port is open to the internet. I want to be able to host other content on port 80.

Is there a way I can change the path where the Xcode Server webpage is hosted?

To clarify, I want to access Xcode Server by typing either http://host.name.tld/xcode or http://host.name.tld:43211, rather than it being the root document served on port 80. I can't find anything to this effect in the auto-configured Apache config file.

First, make sure you are looking at the right apache config.  Base OS X includes a config file, but the one used in Server is at /Library/Server/Web/Config/apache2/sites.

The two lines that makes Xcode the default is in 0000_any_80_.conf:

DocumentRoot "/Library/Server/Web/Data/Sites/Default"
DirectoryIndex index.html index.php /xcode/ /wiki/ default.html

That means Apache will look for an index first in /Library/Server/Web/Data/Sites/Default, but if there isn't an index file, it will try to use /xcode/ as the index (and will fall back to the wiki after that).

To override it, all you need to do is put some content in index.html. After that, you will still be able to access Xcode server in http://host.name.tld/xcode


How to have multiple names in Apple Mail? In Mail.app I can send e-mails on behalf of different mail addresses.
It looks like this:

I've achieved this by inputting multiple e-mail addresses separated by a comma in the Email Address field of the Account information in the Preferences.

I can also select a full name in the mail preferences:

However, any name I input there is the same for all three reply-from e-mail addresses.

How can I set a name for each reply-from e-mail address?

In ~/Library/Mail/V2/MailData/Accounts.plist :

In Root > MailAccounts > Item # where # is the account to which you want to link the new aliases.
Create a new Array called EmailAliases
In this Array add a dictionary call Item # for each name you want
In each dictionary you created add 2 string fields : name and alias.
In name you put the name and in aliases you put the mail address.
Restart Mail.app
Enjoy.

Here is a preview of this in the Xcode plist editor.


XCode Server not sending email notifications to committers whether the build has passed or not I have set a bot with post integration "Periodic Email report" but no reports are arriving at specified email address. I have the following set-up on my local macbook pro. I also have the macOS Server 5.4 running locally

please note that my command line "mail" command is sending mail fine - it is only that Bot's Post Integration step from which no emails are arriving  , please let me know how to troubleshoot and if there are any logs ?

It turns out that a working mail is not enough. You also need mailq to work. See https://gist.github.com/kany/c44c077881047ead8faa for more.

Especially this part if your mailq does not work as it did for me: https://gist.github.com/kany/c44c077881047ead8faa#gistcomment-2254978

Also, you can set up postfix to do proper mail forwarding if you prefer that avenue:

https://blog.anupamsg.me/2012/02/14/enabling-postfix-for-outbound-relay-via-gmail-on-os-x-lion-11/


What practical options exist for running 32-bit applications on Catalina (macOS 10.15)? After I had a disturbing discussion with an Apple engineer I realized that Catalina is heading at us like a freight train right now - and not necessarily in a good way, but acceptation is going to be mandatory by Apple. In my case and revelation, I've been having some troubles with macOS over the last several months with performance on Mojave and it appears that these issues have been resolved in Catalina, but we're not going to see a "back port" of these fixes in Mojave. This is a double edged sword for some of us who need to run 32-bit programs still!

So this leads me to the question: what realistic options are we looking at for being able to run 32-bit apps when we must to step into Catalina?

Thus far the only practical solution that's come to my mind is using Mojave or High Sierra in Parallels via Coherence or another VM. Some projects like Darling (via Linux; imagine Wine for macOS apps instead) are just not yet quite mature enough to be viable. Are there other options that will facilitate running 32-bit apps that we just can't run without when Catalina becomes a proverbial "necessary evil?"

I guess it depends on what you mean by realistic options?

In summary though, the three best options are:

use a virtual machine (as you've already mentioned)
use a second boot disk (e.g. an external drive, another partition on your internal drive, etc) that has another version of macOS installed and boot from that as required
have a second Mac with another version of macOS installed. Depending on the Mac model, with this option you could also use the Mac in Target Disk Mode to boot your primary Mac if/when required.

Which ones of the above are the most realistic will depend on your individual circumstances.


Compress without .DS_Store and __MACOSX When I compress a folder or file by right click menu of Mac OS X, the archived file contains .DS_Store and __MACOSX folders. Because I share the archived file online for download, Windows users mistakenly trying to search the file in __MACOSX folder.

I need to have a cleaner archive option. I do not want to include .DS_Store and __MACOSX folder, but only the file or folder into the archive file.

All I found is CleanArchiver but it is GUI application. It really takes time and I have lots of files to compress. I am looking for a solution by context menu if possible.

Is there any solution that you can recommend for clean compressing?

You can use zip command in Terminal to zip the files without the .DS_Store, __MACOSX and other .* files.

Open Terminal (search for terminal in spotlight)
Navigate to the folder you want to zip using the cd command
Paste this:
zip -r dir.zip . -x ".*" -x "__MACOSX"

Example
Let's say you have a folder on your desktop called Folder with stuff to zip.
Open terminal and write following commands:

cd Desktop/Folder

zip -r dir.zip . -x ".*" -x "__MACOSX"

Now you have a file called dir.zip without __MACOSX and .* files in the folder Folder on your desktop.


Remote access with laptop cover down Can someone log on to my laptop if the cover is down?
I thought by closing the cover it disconnected the internet.

There are programs that will allow the system to run with the lid closed, but in general putting the lid down will put the system into a sleep state (allowing some internet access for Power Nap if you have that enabled)


Which php.ini file do I have to edit on Mountain Lion? I recently upgraded to Mountain Lion and reconfigured my apache2 (https.conf) file in the terminal to load PHP and start automatically.

My localhost/~username/phpinfo.php page comes up to show my PHP configuration (php.ini).  I see that upload_files is set to ON and the max_size_upload is set to 20MB.  However, the upload_tmp_dir isn't set (it says NO VALUE).  I assume the default tmp directory is "/tmp".

When I do

$ cd /etc/
$ sudo nano php.ini.default

goto the upload_tmp_dir and I remove the ; in front of it and enter the value /tmp (save and exit).

I still see NO VALUE for the upload_tmp_dir when I load my phpinfo.php.  I just wonder if I'm doing something wrong.  Any help is appreciated.

/etc/php.ini.default serves only as a reference and is not read out by PHP at all. The built-in PHP installation will look for the file /etc/php.ini instead. This file is not present by default, but you can copy /etc/php.ini.default to /etc/php.ini and make your modifications in there. You could also just create an empty file and only add any directives you want to change from the default.

Make sure you copy or create the file as root, so in Terminal you could do:

sudo cp /etc/php.ini.default /etc/php.ini

After modifying the php.ini, also make sure you restart Apache for the settings to take effect.

It is good practice to not modify /etc/php.ini.default directly, so you can use it as a reference if anything goes wrong with your /etc/php.ini.


Mac Mini TAOP--124 Hardware Test I recently bought a Mac Mini which I knew was missing the hard drive, so easy fix right? Whenever I start the Mac the fans are running really high and the odd thing is I can only start the Mac in safe mode otherwise it will go into a boot loop.

I did a PRAM/SMC reset, but no result. I performed an Apple Hardware Test and I got an error:
4SNS/1/C0000008 TAOP-- 124: Ambient Temperature Sensor

I tried to connect an other Mac Mini's sensor but that didn't work either. The thing is, the Mac runs from an external harddrive connected to the Mac through SATA to USB. It is missing the internal SATA. Can it have something to do with the missing SATA? Or has anyone else fixed this issue before?

It's not likely related your SATA drive because (besides it being specifically referenced to unencoded) decoding that error code tells us that it's the Ambient Temp Sensor.

4SNES = System Error
T = Temperature
A = Ambient

If it had anything to do with the drive, you would see an "H" in the code - like THxx)

This is something that you will need to replace.


How can I move junk emails on my iPad without displaying the message body? One reason I don't like using my iPad for email is that I can't find a way to move a junk message without its message body being automatically displayed when selected. While viewing a mailbox, tapping Edit then selecting a message will show the message body.

My concern is that HTML code in the message could let a spammer know that the message sent to me was viewed, confirming validity of my email address. Is this concern valid? What can I do in Apple's Mail app on iPad to move junk messages without viewing the message body?

I store my junk messages in an IMAP folder, and use grep to see which email addresses are being targeted.

A spammer could validate reception by inserting an image which is hosted on a remote server in a HTML email. A unique code per recipient could be appended to the URL of the image, at which point the remote server can know which addresses recieved and opened the email.

While the default setting on iOS is to load remote images automatically (and hence makes your email address vulnerable to this kind of tracking), you can change this to Off in Settings - Mail, Contacts, Calendars - Load Remote Images.

Please note that this will prevent any remote images in any email to be loaded automatically, and therefor possibly breaking the layout of HTML emails, but you can always manually load the images in an email by tapping the appropriate button at the bottom of the email body.


How can I move files by using the keyboard only? I'm looking for some kind of a utility that lets me select a file(s) and then say hit a command key and then move to a difference directory and hit the command key again and have those files moved to the new location.

I think I have seen some similar apps where you could drop files onto a dock icon to gather them but I cant recall the names.

Any suggestions?

Have a look at Move files using just keyboard in Mac Finder? for a discussion of the same topic, listing a lot of options.

Assuming you are running Lion you can move files by using Cmd-C to pick them up and Cmd-Opt-V to move them to the target location.


Is there a modern browser for iOS 10.3.3 capable of supporting ES6+ Javascript? I have some iPads I'd like my staff to use. However, these are 4th generation iPads, so the latest iOS I'm able to install on them is v10.3.3. However, the website they need to access requires a more modern browser than the built-in Safari.

We tried downloading the Chrome app, but it seems the Chrome app is using the Safari engine.

Is there any way to use a modern browser (one that supports ES6+ Javascript) on iOS 10.3.3?

From what little I know about ECMAScript Safari on iOS (which all browsers must use for rendering web pages, as @Mark pointed out in his comment) some things are supported but many are not. And your guess is as good as anyone's as to why that is the case (not to mention off-topic here).

So you are likely out of luck for full ECMAScrip support on iOS unless you want to go the jailbreak route. We can't help with that and I don't know if there is a browser for jailbroken iOS devices that does support ECMAScript.


How to remove all junk emails from the junk email folder? I have many emails in the junk folder in my yahoo email. How do I delete them all at one time using my iPad.

Go to the junk folder-> select 'Edit' in the right corner-> then select 'Delete All'.
Good luck.


How to open multiple iTerm2 tab with admin privilege So I have an executable program in my /usr/local/bin/ called myApp. I need to run multiple myApp processes in new iTerm2 tabs with sudo.

The file structure is like this:

--myFolder
----v1
----v2
----v2
...
----vn

The work flow is like this:

1) `cd` into `myFolder`
2) open *new tab*

3) in *new tab*, `cd` into `v1`

4) `sudo myApp`

5) *enter my password*

6) *repeat for all vi*

The issue is that I need to be able to automate this process. I found a osascript to open new tabs here, but I don't know how to have the newly opened tabs run myApp without asking my for password.

The only way I can think of doing this is by setting up sudo to not require a password.  There are obvious security issues with this, but if those are acceptable in your situation, this is what I would do.

Edit the /etc/sudoers file with the visudo command:

# sudo visudo

Add a line at the bottom which grants the relevant user the ability to run any command as root without being prompted for a password (in this example adam is the user):

adam ALL=(ALL) NOPASSWD: ALL

If you wanted a slightly more secure version, you could restrict them to only being able to run myApp without a password on a particular host (in this example the user is adam, the host is hebe and the only command they can run without a password is /usr/local/bin/myApp):

adam hebe = (root) NOPASSWD: /usr/local/bin/myApp


Connecting USB devices wake Mac running Mountain Lion only temporarily On Snow Leopard (10.6), I could wake my Mac by connecting a USB device - in my case, switching on a USB external HDD.

Now, after upgrading to Mountain Lion (10.8), when I connect the USB device, the Mac wakes up and then immediately goes back to sleep.

Is this a bug? Is there a reason for this new behaviour?

Siracusa's review mentions this behavior, and it's been evolving since Snow Leopard:

  DarkWake has actually been around since Snow Leopard, where it was used to periodically send out a network tickler to ensure that a sleeping Mac doesn't lose its DHCP lease. In Lion, plugging in or unplugging a USB device could briefly put a Mac into DarkWake to reconfigure the peripheral bus before going back to sleep. Mountain Lion does all of the above while also carving out some time to get real work done while the master is away.

DarkWake is the state the system is in when Power Nap is running.  In Lion, it would enter DarkWake to deal with processing the USB connection, then it would go back to sleep.  In Mountain Lion, when a USB device is connected, the Mac enters DarkWake to deal with processing the USB connection and also uses this state to do the various Power Nap tasks.


Path into PS1 prompt is broken (\n) on different lines when it is too long I am using iTerm2 on MacOS Catalina . Here is my PS1 into ~/.bashrc , using a function ps1 :

function ps1 {
        # PROMPT SECTION
        BLUE='\[\033[0;34m\]'
        LIGHT_CYAN='\[\033[1;36m\]'
        DEFAULT='\[\033[0m\]'
        PURPLE='\[\033[0;35m\]'
        LIGHT_PURPLE='\[\033[1;35m\]'
        LIGHT_GREEN='\[\033[0;32m\]'
        PINK='\[\033\[0;31m\]'

        # \! - History number of last command
        # $? - Exit value of last command
        # \t - Exit time of last command
        # \w - Current directory (relative)

PS1="$PURPLE|$DEFAULT$LIGHT_GREEN\u@$DEFAULT$LIGHT_CYAN\h$DEFAULT$PURPLE|$DEFAULT\t$PURPLE|$DEFAULT$LIGHT_PURPLE\w$DEFAULT$PURPLE|$DEFAULT "
}

ps1

The issue happens when I have long path, it seeems to  be broken on second or third line like this :

I tried to increase the number of columns (to 1000) into iTerm2 -> Preferences but it doesn't seem to fix this issue.

I can't see where the error comes from.

Anyone could see what's wrong ? Regards

  fab@astro|13:12:32|~/Phd_2019_2020/Travail_2_faire_varier_Omega_DE_sur_CAMB_et_regarder_si_les_P_k_changent_21_Octobre_2019/Main_Directory_Work/TSAF_lvl_up_Derivatives_15_points_on_Cl_stabilite_Code_is_surel
y_VALIDATED_for_15_points_derivatives_AND_After_trying_to_solve_the_pathologic_zone_1e-5_TO_1e-2_13_Novembre_2019/Test_FAIRE_VARIER_TOUS_LES_PARAMETRES_AVEC_les_2_pas_2e-2_et_1e-1_AVEC_Takabird_SECONDE_TENTATIVE_AVEC_LA_VAR        IATION_de_wde_EN_FLAT_DANS_Camb_launcher_6_DECEMBRE_2019/CAMB_der_3_pts/fortran|

It's a bug related to the old version of bash included in macOS.

To overcome you can

Switch to zsh (see What are the practical differences between Bash and Zsh?)
Install a more recent version of bash via Homebrew and use this as your standard shell (see How to use bash as default shell)


1st gen iPad charges slowly and doesn't show charging indicator A few months ago, my 1st generation iPad fell on the carpet and started having issues with charging. Note: it wasn't plugged in to anything when it fell.

When I tried charging it, it didn't show any indication that it was charging.

I took it to the Apple store, and they said that it can no longer charge and that the only thing I can do is get a new iPad. I decided to go home and try leaving it plugged in to the wall for several hours and see what happens. After 4 hours of charging, the charge only rose by 5%. Note: the iPad was on, but the screen was off.

When I tried turning the device off and charging it overnight, it was able to charge to 100%.

So my two problems are:

The charging indicator no longer shows up.
It takes a long time to charge while the iPad is on.

Is there any way to fix these two problems? If it's a physical problem with one of the components of the iPad, which one would I need to replace to fix these issues?

I'm guessing that Apple came to that conclusion because they didn't have time to leave it plugged in and wait a few hours just to see it charge a little bit. Therefore, I understand why Apple thought it could never be charged again.

Note: I'm using the charger that came with it, and I've tried other chargers as well. Apple tried their own chargers too.

Did you try charging using another USB cable (the one for your iPhone, perhaps) and see if that made a difference? I’d recommend testing this first before replacing attempting to replace any components yourself.

That said, it’s most likely a battery issue.

Here’s a guide on how to replace the first-generation iPad’s battery yourself.


Apple Mac mini SKU numbers difference What is the meaning of the SKUs of Mac mini:

Difference between "MGEM2GU/A" and "MGEM2D/A"?

MGEM2**/A is the marketing number of the base model: Mac mini (Late 2014) 1.4GHz dual-core Intel Core i5/4GB. MGEM2GU/A is the number for the Greek?/former Commonwealth of Independent States (except Russia) market and MGEM2D/A is for the German market.

Some more country/market identifiers: LL = US/Canada, B = UK, BZ = Brazil, C = Canada, CH = China, E = most spanish countries (Mexico, Spain, Argentina), J = Japan, RU = Russia, X = Australia/New Zealand etc.


Does iOS 4.2 change the voltage on the camera kit USB? I want to use my happy hacking keyboard with ipad.

I just read an aritlce about changes on ios 4.2. One of changes I noticed was that voltage changes for camera kit on ios 4.2. I also read that USB keyboards no longer works with camera kit on ios 4.2.

Is that true?

I could have sworn I've managed to use a USB keyboard with my iPad, and it shipped to me with 4.2.1 installed. Maybe my keyboard uses less voltage (it's one of those semi-novelty foldable ones).

Perhaps you could get around this limitation with a powered USB hub?

Update: I've recently heard rumour of someone working on a solution for this.


"Save-as" shortcut not working for anything For all of my apps, the command+shift+s shortcut is not doing its expected "save as" function.  I am assuming there is a conflict somewhere, but when I go to preferences -> keyboard -> shortcuts, there are no conflicts that I can find.  This is driving me nuts... any thoughts?

I'm on El Cap 10.11.3 / MBP 15 (2015 model)

Follow this guide, you'll be able to track down a few more places that may be interfering.

System Preferences -> Keyboard -> Shortcuts

This is the obvious one that you'd think of. However, you said you've checked and can't find anything, so we'll move on

System Preferences -> Dictation and Speech -> Text to Speech

It's unlikely, but possible that you bound "Speak selected text when the key is pressed" to something else (as I have.)

~/Library/Preferences/com.apple.symbolichotkeys.plist

If you can't find anything else take a look here and see if you spot anything that's using the keys you want unbound.


Is it possible to create a new Apple Developer account and create new Apple ID at same time? I've been updating an app that is created under a different Developers account and its becoming a real hassle accessing it - especially since Apple introduced 2Factor authentication. I have solved that issue but it's still a pain when notification emails go through a third party.

So what I want to do is create a new developer account myself. But I DO NOT want to link it up to my current personal Apple ID or account - I want to keep that separate.

Is it possible to do this? Create a new apple developer account with a newly created Apple account with ID. Then I assume I need to add both to my iPhone so I can authenticate and gain access to the developer portal?

Does this sound right?

Is the goal simply to have another account you can use to update the app in App Store Connect? If so, you do not need a developer account. All you need is for the owner of the developer account to invite you as a user and delegate access. Note that the invited account does not even have to be an Apple ID. This will grant you access to App Store Connect, but not all the resources of a full developer account. There are several roles and levels of permissions as detailed here: https://developer.apple.com/support/roles/

If you do need your own developer account, you must create the new Apple ID first, then enroll it in the developer program. You will have to sign into the new Apple ID from your iPhone initially to set a "trusted device" and enable two-factor (multiple Apple IDs can use the same trusted device). After you have set up your "trusted phone number" you can sign out from the new Apple ID and just use the SMS method for that account.


Upgraded iPad 2 to iOS 5 : no device summary pane I upgraded my iPad 2 to iOS 5.

I don't want to sync it through the cloud : I just want to sync it as usual, with iTunes through my USB connector.

But I have a problem : as soon as I upgradedto iOS 5, when my iPad is connected to my Mac, iTunes is not displaying the device summary pane.

I have SnowLeopard 10.6.8, iTunes 10.5.

Here is a screenshot of what I get :

As you can see, the iPad is seen by iTunes, but no device summary pane is displayed.

Any idea how I can solve this problem ?

Well I found a solution to my problem : I connected my iPad to another Mac, to check if I would face the same problem. It worked fine on the other machine.

Then, I tried to connect it again to my own Mac and to my great surprise, it was working perfectly !

So basically, connecting my iPad to another Mac solved the problem !


How to install composer via homebrew I'm really new to MacOS so maybe this is simple question.

I'm using High Sierra with default PHP 7.1 installed, I've also installed PHP 7.2 running:

curl -s http://php-osx.liip.ch/install.sh | bash -s 7.2

When I run:

brew install composer

I'm getting:

Error: No available formula with the name "composer"
==> Searching for a previously deleted formula...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

The question is how to install composer via homebrew? (Maybe I should somehow uninstall PHP I've installed and install PHP via homebrew?)

It's now possible to install composer running

brew install composer

Previous answer (for older versions):

It seems the solution was running:

brew tap homebrew/homebrew-php

and then

brew install composer

After that composer seems to be installed:

composer --version
Composer version 1.5.5 2017-12-01 14:42:57


Open folder in dock by simply clicking Hi. In my workspace I have these frequently used folders that I keep in my dock, but I find it annoying that I have to right click and click "open" every time i want to open them. Is there some way I can click the folders and it just opens?

I know that making an alias does the trick but I also like to drag files right into the folder on the dock and an alias doesnt let you do that.

Or does someone else have some creative idea to do both. Thanks. Im working on El-capitan.

You can press the command ⌘ key and click the target Folder in the Dock, this will open the folder in a new Finder window.

If the command ⌘ key and click doesn't open directly to the target Folder, you can also try pressing option+command ⌘ keys and click the target Folder in the Dock, this should open directly to the folder in a new Finder window.

You can also instead of right-click, just click the target Folder and select Open in Finder.


Remove or relocate Java icon in Dock I am using a MacBook Pro running macOS Mojave with the latest version of Java.

When i run my Java program, it shows 2 icons in the Dock. Is it possible to remove 1 or relocate both?

I cannot use a 3rd party hide program, it won't move if I drag it off the Dock. Does anyone have any methods to relocate or hide the icons?

You should be able to right click on the icon in the dock and select hide. This should hide one of the icons.  See image


How can I see which app/process is using up my VRAM? iStat Menus shows me that my GPU RAM is being maxed out.

Activity Monitor doesn't seem to show VRAM usage.

A TL;DR answer is that the GPU takes all the RAM and manages it, always. On an OS level, the window server decides what is visible and the kernel schedules any request for GPU assets.

So, you choose which programs run and they send their commands to the driver and then you get a variable amount of work between vsync events when the display updates.

We get to control external refresh rates / the pixel specifications of attached displays and the number of connected displays.

If you are developing an app or just really curious, you can use Instruments in Xcode to inspect precisely gets done on the CPU side and the calls out to the GPU using metal in this example below:

It shows you the CPU calls that then get passed down to the Metal Application calls which then call out to the graphics driver both of which perform rendering passes. This graph is the result of one window to http://www.decisionproblem.com/paperclips/index2.html in Safari on High Sierra later in the game when the screen is busy constantly. The color area is about 75 ms on the first image and if you zoom in to 3 ms or so, the CPU activity with the circled R are about 15 stack traces each so you can inspect the heaviest user of time in that moment. That's the lower image:

Evan at this level of detail, measuring what's using VRAM isn't even considered something worth measuring since the constraint that matters is time to render and the VRAM is what it is so you reduce what you load in to the VRAM to get the renders you need between vsync events so that the frame rate is where you want it to be (as a programmer or as someone benchmarking a program).


How do I update my Apple Watch 4 to watchOS 6 with an iPhone 6? I am having trouble updating my Apple Watch Series 4 to watchOS 6, as it is saying "update your phone first". The problem is that I cannot update my iPhone 6 to iOS 13, so does that mean I won't be able to update my watch until I buy a newer version of iPhone?

The message you're getting is the same message all users will get until they upgrade their paired iPhones to iOS 13. In other words, you're not just getting this because your iPhone isn't capable of running iOS 13.

Unfortunately, if you're really wanting to take advantage of any of the new features in watchOS 6, you'll need to pair it to an iPhone running iOS 13 before you can upgrade watchOS. And, in your case, this means upgrading your iPhone too.


Get contact photo iOS I took a photo using the contact app on my iPhone 5.  I would like to copy that photo, but there doesnt appear to be an easy way to get it.

I did some googling, but all the answers were several years old - and all of them said you could not do it.

There was one answer that required programming that the poster said "supposedly could do it", but I dont have the development tools (or working Mac) to even try.

Anyone know of a way to extract the contact photos?

You can hold down on the contact photo to copy it:


Can a 16“ MacBook Pro be reverted to an OS before Catalina? I want to get the new 16" Macbook Pro which ships with Catalina, but I don't want Catalina at least for now because of how many legacy apps it breaks, not to mention Avid/Protools hardware which typically doesn't update drivers for up to a year after a new OS release.

I understand that new Macs sometimes have drivers they need which bundled only with that latest release, but I'm not sure how set in stone this is. Where can I find more solid information about this? I'm really Catalina-shy at this point.

The 16" MacBook Pro cannot run anything earlier than Catalina.

Sometimes you can “downgrade” the operating system on a new Mac to an earlier version of macOS, but you should never count on it.

If that Mac is completely new hardware (like the new 16" MacBook Pro) then Apple never adds driver support for older versions of macOS.

If you order a Mac which could run an older version of macOS, even though it comes installed with a newer version of macOS, it might be able to downgrade.

For example, if Apple released a minor update to the 2019 MacBook Air line, and you ordered a new MacBook Air and it arrived with Catalina on it, you might be able to install Mojave on it. But you would never be able to install High Sierra on it (in fact the 2019 MacBook Air cannot run anything older than 10.14.5).


Mac and Windows dual boot problem I have a software problem with my Mac laptop:
I had made a division in the hard drive some time ago and installed Windows in the other partition using Bootcamp software.
But now I think that the Windows partition is getting full and when I try to switch from Mac to Windows, I get a message saying "inadequate system resources"
and the Windows side does not boot up. Can you tell me what to do to fix this issue?

Thank you very much; I'm stuck and have some important documents on my laptop.

This is most likely to do with the temporary 'swap' files that Windows uses and needs to run. It would be nice to be able to downsize your OS X partition and upsize your Windows partition, but sadly NTFS is not that convenient.

Clear out any unnecessary files from the Windows partition from the Mac side, accessing it through Finder as falconbridge said. Then try and boot into Windows again.


Keep the camera activated while using other apps during a video conference When I am in a videoconference with any app (I have tested with zoom, facetime, discord and skype), if I change to another app my friend stops seeing my camera.
My issue is that I use the iPad to have zoom meetings where I share the screen and I move through the iPad and I need to keep the camera working while using other apps.
Is it possible to achieve this using any other app or changing some configuration in the iPad?

No, it is unfortunately not possible in any other app or by changing settings in the iPad.
Apple has explicitly forbidden apps to record videos while they are in the background, and iOS prevents this from happening.
As Apple writes here for app developers:
"Camera usage is prohibited while in the background."


How to get which PATH is available to a GUI application? I need to understand which version of sqlite3 is used by a GUI app.

I have several versions installed on my machine and I want to know which one is available to MacOS GUI app. There must be a place which defines a PATH to the GUI apps.

How can I know ? How can I modify it?

Assuming SQLite is dynamically linked into the running application, you can find the PATH environment variable using the ps command.

Alternatively, use Activity Monitor to view the application's Open Files and Ports. You can then search the output to see if the library is being held open by the process.

Path - Use ps

PATH is part of a process's environment variables. If you can see those, you will find PATH.

Use the ps tool with the flags -wwwE on macOS to view the environment variables passed to a process:

ps -p <PID> -wwwE

See Environment variables of a running process on Unix?

Example

Below is an example output from running this command on the graphical Mac application Xcode:

ps -p 1648 -wwwE

  PID TTY           TIME CMD
 1648 ??         0:03.46 /Applications/Xcode.app/Contents/MacOS/Xcode TMPDIR=/var/folders/b2/[redacted]n/T/ __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x2 HOME=[redacted] SHELL=/bin/bash Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.[redacted]/Render SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.[redacted]/Listeners PATH=/usr/bin:/bin:/usr/sbin:/sbin LOGNAME=[redacted] DISPLAY=/private/tmp/com.apple.launchd.[redacted]/org.macosforge.xquartz:0 XPC_SERVICE_NAME=com.apple.dt.Xcode.64852 MallocNanoZone=0 USER=[redacted] XPC_FLAGS=0x1

As Mark mentions in a comment below, this may not show the linked library.

Linked Library Info - Use otool

As another alternative, try otool to extract the linked framework and library information. The command to run is:

otool -L <path to binary>

Using Xcode.app as an example, the command and output is:

$ otool -L /Applications/Xcode.app/Contents/MacOS/Xcode
/Applications/Xcode.app/Contents/MacOS/Xcode:
    /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 22.0.0)
    @rpath/DVTFoundation.framework/Versions/A/DVTFoundation (compatibility version 1.0.0, current version 1.0.0)
    @rpath/DVTKit.framework/Versions/A/DVTKit (compatibility version 1.0.0, current version 1.0.0)
    @rpath/IDEFoundation.framework/Versions/A/IDEFoundation (compatibility version 1.0.0, current version 14154.0.0)
    @rpath/IDEKit.framework/Versions/A/IDEKit (compatibility version 1.0.0, current version 14154.0.0)
    /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1452.20.0)
    /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)
    /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1561.40.104)
    /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1452.20.0)
    @rpath/libswiftAVFoundation.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftCore.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftCoreAudio.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftCoreFoundation.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftCoreGraphics.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftCoreImage.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftCoreMedia.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftDarwin.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftDispatch.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftFoundation.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftIOKit.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftMetal.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftObjectiveC.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftQuartzCore.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftXPC.dylib (compatibility version 1.0.0, current version 902.0.48)
    @rpath/libswiftsimd.dylib (compatibility version 1.0.0, current version 902.0.48)

Relinking

Relinking a binary is not advisable but seemingly possible. See How to copy (and relink) binaries on OSX using otool and install_name_tool for detailed instructions.


Issue trying to run macOS Mojave off a bootable external USB I'm trying to run macOS off a USB drive, so I can troubleshoot some issues I've been having with a monitor. I've followed this how-to video, and can reboot (holding Option + Power On). Once I choose the USB I try to install macOS Mojave, however it stops me when I try to select the greyed out USB.

I get the following message:

  This disk doesn't use the GUID partition scheme. Use Disk Utility to change the partition. Select the device containing the disk, click the Erase button, select the Volume Scheme and then click Erase

I follow the prompts and when I go to erase it doesn't allow me to do it as it's the usb device itself I've booted/started the computer with.

How can I fix this? Have I done something wrong along the way?

To run macOS off a USB drive, it needs to be installed on it first.

Unlike some Linux distributions, you cannot run macOS in live mode from the bootable installer USB. Also, it appears that you are trying to install macOS onto the same USB stick that you booted off. This is clearly not possible to do.

You can, however, connect a separate external USB stick/drive and install macOS onto it. Once installed, remove the USB stick containing the installer, start your Mac, press and hold Option key and boot off the external disk onto which you installed macOS.


Is there a plug-and-play card swiper for iPad to get data from the card? We are in the process of assembling iPad kiosks.

We are not writing an iOS app, iPad will just have a bookmark to a web application that will be hosted on our server. As far as the user is concerned, he won’t be able to really tell if it is an app or a website.

We need to be able to read membership numbers from a membership card, which is just a plastic card with magnetic stripe on it. I am told that to be able to use any swiper I need to write some custom code, but we are not writing any code, we are just pointing to the website.

Is there a plug and play swiper? Maybe I can write some simple iPad app which will run on the background and will be able to accept input from the swiper and pass it to Safari, so webapp can get it? Hope it makes sense.

No, there is no way you can do that. Apps can’t pass input to each other. Though there is a method which can be modified to do that, it definitely doesn’t suit you. You will have to write a custom app and use the Square card reader or alternatives.


Cannot see certain network directory on MacOS We have a Windows domain with a few Macs connected. They can see the network shares no problem but there are some directories where the name begins with a full stop. The Macs cannot see these for some reason.

Does anyone know why?

File/Directory names beginning with . are treated as hidden in macOS and are not displayed in Finder by default.

To view hidden items, invoke the Finder keyboard shortcut, ⌘ + Shift + .. This key combination toggles the display of hidden items in Finder, thus re-invoking it will hide the display of hidden items.

When using a Non-Apple/PC keyboard, the key equivalent to ⌘ is Window key. (This key is generally referred to as Meta key).


How can I quit Steam on macOS 10.12 without force quitting? Steam will not exit gracefully on macOS 10.12 Sierra. When selecting exit from the application menu or via secondary click on the app icon in the dock nothing happens. The process has to be terminated forcefully, and it will also stop the OS's poweroff process. On occasion the program will exit properly but I cannot see any pattern to it.

When running the application from the command line and then attempting to exit, at first nothing appears in the output, but after a minute or so the following is logged:

KQ: Error Unregistering write event KQ:Operation now in progress
Setting breakpad minidump AppID = 769
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198003850785 [API loaded no]

macOS Sierra 10.12.4, Steam API: v017, Steam package versions: 1490228413

I had this same issue. I lodged a ticket with steam support and they told me to enable beta client.

Here is a link about how to do just that that

After signing up for beta it is now quitting for me and my double quits are gone. If you don't want to participate in the beta, hold on to your butts; a fix is probably coming soon when they get a stable beta.

-- I did say soon in my initial comment back on Apr 5 '17 so perhaps not so soon if you are here now.


How to backup my iPhone 4S contacts to a CD? Even though iTunes is backing up all my contacts while I'm syncing, the backup still exists on a computer. So I would like to make a backup on another physical medium, just in case my computer or iPhone gets destroyed, lost, stolen, etc....
How can I do this?

You can export your contacts from the Contacts app, it will save them as a Address Book Backup file (.abbu). Once you do that, you can drop the file into a burn cd folder and burn the CD.

File < Export < Contacts Archive
Save as a file that you can easily identify. (Contacts-date.abbu)

This of course only works if you sync your iPhone's contacts to your Address
Book app.


charging my Macbook Pro (85w) with my Macbook Air (45w) charger seeing if anyone as done this. Has any used a 45w charger (like the one that comes with the Air) to charge their Macbook Pro? I left my Pro charger at a friends house and will not be able to get it before I leave town for a work trip, where I'll need the Pro. I'm  thinking that I can shut down the laptop and use the Air charger to charge it over night.

Has anyone done this? I'm worried about damaging the battery on the Pro.

It will be fine. The MacBook Pro will charge with the Air's charger well; it will just be slower than if it was on its original charger. One can even charge a MacBook Air with the charger for the MacBook Pro, if one wanted to.

I have attempted this myself and have had no problems.


Apple TV can't always be detected by Mac & iPhone I have both a Mac and iPhone: the AirPlay icon to stream video and music to AppleTV randomly appears and disappears on both of them.

I think it is a network issue, but I don't know how to solve it, since it might work perfectly one day and the next no device can find the AppleTV.

I had the exact same problem. My Mac, iPhone, or iPad wouldn't connect because the icon disappears at random intervals.

You can try plugging in an Ethernet cable, however this doesn't seem to permanently fix the problem.

What I did was get a new router that supports dual band (2.4 GHz and 5 GHz). The iPhone uses 2.4 GHz and my Mac and AppleTV use 5 GHz. There was less traffic that way (because of splitting the bands over different devices) through the router and the AppleTV is always detected. This forced the AirPlay option to always appear on my devices.

You can check my question and other possible answers here AirPlay option disappeared?


Add new number to existing iPhone contact, replace the old number Today a friend called me from their new cell phone number. After the call, I added the phone number to their existing contact. Afterwards, I could not determine which of the two phone numbers listed was the current number that they had called me from.

If I navigate to "Recents" and click on the call, it lists both phone numbers and gives me no indication which was used for that specific call.

What is the easiest way to determine which phone number was last used with a specific contact?

When someone calls me from a new phone number, what is the easiest way to overwrite their old phone number with the new one?

I'm using iOS 8.3 on an iPhone 5

The blue number (the bottom one in your screen capture) is the one which made the call. The same works for emails in contacts that have more than one.

Here for example, I have a contact with a landline (home) and a mobile phone.
Incoming and outgoing calls to the different numbers of the contact are highlighted in blue.

This is a screenshot of a call made to the mobile number of the contact (not an iPhone, its my grandma):

This is a screenshot of a call made to the landline:

Also, if you missed the call, the number calling will turn red instead of blue.

This is a screenshot of a missed call from the landline:


What does "unauthorized attacks" mean in the iOS Security Guide? First of all, are there authorized attacks?

I'm a beginner iOS developer and I just started reading the Apple's security guide and almost chocked on my sandwich.

Does this not imply that my app's data (or my personal data for that matter) can be accessed with these "authorized attacks"?

Yes, if you authorize someone to "attack" your iOS device - that would be an authorized "attack".

This is not so far-fetched or unrealistic as it sounds. Many companies do purchase services from security vendors to do authorized "attacks" on their servers and devices in order to ensure that they have sufficient security.

However, you're reading too much into the text if you think that it states that an authorized attack will succeed just because it is authorized. That doesn't make any sense.

So all in all, nothing new, nothing to be alarmed about, and nothing that is specific for iOS devices which is not true of any other device.


How do transfer mp3 files to iPhone that is configured with iCloud Music Library I subscribe to the Apple Music service.  When I connect my phone to my iMac and open iTunes on the mac and go to the Phone and select Music settings I get "iCloud Music Library is On"  iPhone can access your iCloud Music Library.  Songs can be downloaded and played via WiFi or cellular network.

The issue: On my Mac I have a playlist of mp3 files and I would like to get that playlist of my3 files onto my phone. In iTunes on the mac beside each mp3 file there there is an iCloud icon with a line through it indicating that "This item is not eligible for the iCloud Music Library"

So now I'm stumped on how to get this particular mp3 files from my personal library on my phone.

I ran into this myself, came across your question while seeking the answer, but have since figured it out.

https://support.apple.com/en-us/HT204926

The key is to enable iCloud Music Library under Edit > Preferences > General in iTunes.  That then enables the "Add to iCloud Music Library" right click option over albums and individual files.

Items you "add to iCloud Music Library" will then automatically appear in the Music app on your iOS devices.


OS X Finder: Why does it take less time to copy files in succession than to do so all at once? Example:

Select 10x2GB files, then drag and drop to another location.
Drag and drop each 2GB file to the location individually, in succession (10 times).

I’ve tested this across multiple OS X versions and Apple computers, and the latter example always executes faster.

Why’s the drag and drop sequential fashion faster?
That said, why doesn’t Finder just execute batch operations in the same manner? I must be missing something(s)…

Note: This is a question that teeters on the edge of not being within the bounds of this site, yet nonetheless, one worth asking :)

The results are the same regardless of the order (batch/manual) in which it's performed.

I think in your example you are copying all files to the same disk. If the finder is trying to write to multiple places (or reading from multiple places) on the same hard drive, it will be slowed down by drive access times. It is easier (faster) to read (or write) one whole file at a time rather than ten files at the same time.

You can observe similar behavior if you are compressing video to a smaller codec. If you choose to export to the same disk that you are reading your source file from, your export will go much slower than exporting to another drive.

You could re-do your test using 3 separate disks (provided those disks were not being accessed across the same bus (USB3/Thunderbolt, etc.). That might be interesting to test.


How to start preview from command line and get back to the terminal when I press ESC? I do want to add file view support for media files to midnight commander and I something that can be called form the command line that would start preview but that will return to my terminal when I press ESC.

Note: I already found half of the solution here http://hints.macworld.com/article.php?story=20040514133013713 - the only problem is that it doesn't close Preview with Escape.

So there are two possible solutions:

Find a way to map ESC to Cmd+Q only for Preview (I want a command line install solution)
Find a way to open Preview in the special mode used by the Finder (the tiny preview), which by default is closed with a simple Esc.

You could use qlmanage  instead.

/usr/bin/qlmanage -p file1.pdf file2.pdf file3.pdf

This will open the files in quicklook.

You can then use escape or the space bar which will close the quicklook previews and be back in terminal since it is the active app.


Is the 2011 Macbook Pro body equivalent to the 2012 model? My mid-2012 Macbook Pro's body is damaged beyond repair but the internal parts are still functional. Is it possible that I could assemble the parts into a 2011 body of the same size and have a functional laptop?

Probably not. You could attempt it, since they're both about the same size, but I don't think that it would work due to the small differences that will likely exist between the two models. I'd just buy a 2012 body off of eBay.


Repeated "styles" folder in trash I am having recurring "styles" folder inside my trash and when I try to delete it, it is showing "the operation cannot be completed because the item "styles" is in use! Is this a virus?

This answer by Matthieu Riegler suggests the following when dealing with a Trash that won't empty (this does not, however, address WHAT the files are or whether they are malicious):

When you have problems to empty the trash, rm -rf ~/.Trash/* in the terminal does the job for you.

You have to keep in mind that there might be multiple .Trash directories.
For example on a USB stick or a external Drive, OSX will create another .Trash at the root of the drive. So you might need to use  rm -rf /Volumes/DriveName/.Trash.*


Apple iPhone 3GS Battery Problem So my iPhone is charged at 100% overnight, and when the battery gets to like 90%, the phone suddenly shuts off when I open an app like Facebook, Foursquare, Maps, etc...

I try turning it back on and the Apple logo appears. When it gets to the lock screen, the battery is still showing 90% but then the phone decides to turn off again. I can turn it back on, and the same thing happens. Occasionally, it'll get past the lock screen, but after I launch an app, the phone decides to shut off again. After a couple of on/off cycles (the battery still showing >80%), the phone decides to give up and displays the low battery/plug into charger icon, even when it said it had 80% battery a minute ago.

Anyone have the same problem and know a solution?

The solution is likely to get the battery replaced.  By Apple or a qualified repair service.

Li-Ion batteries behave like this when the chemistry fails due to normal use or a premature fault.  The voltage can suddenly drops off a cliff, too fast for the battery charge indicator to show the decrease in percentage.


GarageBand not starting after Snow Leopard upgrade Starting four days ago, I wasn't able to open any of the icons at the bottom of the page of my MacBook. I downloaded Snow Leopard, and now I can open all but GarageBand. This is a complete mystery to me.

I'm currently at OS X 10.6.3. (my Mac was bought used, do I need something newer to run Garageband?. How can I get GarageBand to run again?

You need a GarageBand version 6.05 from here.

And you need to update your Snow Leopard to 10.6.8


How to order and merge many .ts files? I have many small files (about 500). They are in right order. I would like to merge them.
Linux commands are also welcome because I can compile them in my OS X.
The command cat *.ts > masi.ts does not work well. The result stops at some points. I am investigating why this occurs.
Some parts of the videos are not in order.

Names of parts of videos where each file has a prefix HRmasi453-27012016.mp4.ts

1.ts
2.ts
...
100.ts
101.ts
...
200.ts
...
300.ts

so the filename is HRmasi453-27012016.mp4-01.ts ... HRmasi453-27012016.mp4-300.ts.
The command cat *.ts > masi.ts does not organise the video in the sequential order.
I think I should make a list before of all items in order.
Then, merge.

Pseudocode

Make a list of videos in order
Merge cat items in list

Do something like filename = prefix + itemInList without creating a new list in the while loop.
cat filename >> result.ts

How can you join the many video files, .ts, files?

I need to preface this by saying having not worked with .ts files I do not know whether or not they can be simply concatenated using cat and as you saw because the are numerically named they get mixed up when using cat *.ts > masi.ts because it sorts lexicographically, so using a ordered list is in order.  With that in mind, here is what I did to create a list of 500 numerically named .ts files and then concatenate them using the list.

I first created 500 numerically named .ts files containing the number of the .ts filename as a control.  I used for i in {1..500}; do echo $i > $i.ts; done  These weren't actually valid .ts files however it allowed me to have 500 files to work with and then see that they were concatenated in proper order when opening the combined.ts file to see an ordered numerical list within the file.

Since you already have the 500 .ts files, in Terminal do the following:

cd ts_files_directory
echo {1..500}.ts | tr " " "\n" > tslist
while read line; do cat $line >> combined.ts; done < tslist

Updated to include actual filename per your comment to my answer and your updated question.

The following assumes that the only numbers in itemInList with a leading 0 (zero)  are e.g., 01...09 and that you change 500 in the {100..500} portion  of the command to the actual count.

Change directory to that of which contains the .ts files.

cd ts_files_directory

The following two commands create the tslist file which is a numerically ordered list of the target filenames to be used with cat in order to avoid the lexicographical sorting issue.

echo 'HRmasi453-27012016.mp4-'{01..99}.ts | tr " " "\n" > tslist
echo 'HRmasi453-27012016.mp4-'{100..500}.ts | tr " " "\n" >> tslist

With the numerically ordered list created, use the following command line to concatenate based on the contents of the tslist file.

while read line; do cat $line >> combined.ts; done < tslist


Which Macs support Airplay mirroring on Mountain Lion? Some people are reporting that Airplay mirroring doesn't work on their Mac running Mountain Lion. Which Macs support AirPlay?

iMac (Mid 2011 or newer)
Mac mini (Mid 2011 or newer)
MacBook Air (Mid 2011 or newer)
MacBook Pro (Early 2011 or newer)

Regular Airplay is still supported on all Macs running Mountain Lion.


App that displays real or fake busy data-visualization? I'm working on an indie film that needs the cliché l33t hAxX0r "really busy screen (with cascading Matrix-y code and scanning and maps and other cryptic junk) that looks sophisticated, but make real geeks scoff with ridicule", as used in every cybercrime analysis or hacker scene in the history of cinema (except for Mr. Robot, who actually got it right).
Are there any apps that do this purely aesthetic cyber readout data-visualization overkill?
Or any ready-to-go presets for apps that might look similar, like iTerm?

You could use one of the many Matrix-y screensavers around:
https://miteshshah.github.io/mac/redpill-matrix-screen-saver-for-mac-os/
http://s.sudre.free.fr/Software/matrixgl.html
https://github.com/winterbe/github-matrix-screensaver


Changes to image are permanent without hitting save I was trying to make some avatars out of some of my images and needed to resize them.  I did so in Preview in Yosemite 10.10.3, and had before as well in Snow Leopard.  There was no 'save as' option, so I did not save my changes because I didn't want to permanently alter my image. There was no 'undo' feature or 'cancel without saving changes' option either.  What gives with this?  I can't go back and take that picture again and now it is a low-res grainy mess when I try to resize it to original manually.

Changes to files are saved automatically when you close, or automatically in the background.
If you don't want to alter the original image, duplicate it first with ⇧⌘S (File → Duplicate), or use ⌥⇧⌘S Save as… (File → ⌥Save as…).

To revert to the original version, open the file and choose File → Revert To and select a revision.


Finding an SSD that's compatible with a late 2007 MacBook? I'm planning on upgrading my 120GB HDD to a 128GB SSD but I'm not sure which SSD will be compatible with my MacBook.

My specs: MacBook late 2007 / Santa Rosa 2.2GHz / 4GB RAM

Preferably, I'd like to get the fastest SSD that would be compatible for my MacBook but the SATA versions have been updated three times since this MacBook was released I'm not sure which would be the best.

I upgraded a similar era Macbook a while ago.  In all likelihood you are unlikely to be able to buy an SSD that will not max out the BUS speed available to it on a machine that old.

That particular Macbook has a SATA I (1.5Gbps) interface for it's existing hard drive.  SATA III (6Gbps) SSD drives have been the standard for many years now, although you may be able to get a bargain bucket SATA II device (3Gbps).  Basically, I would get the cheapest SSD you can for the capacity you require that is at least SATA II (you don't need it for the speed, but a SATA I one will be based on older technology that may have a shorter lifespan than a newer drive).  It is almost certain to be faster than your machine can handle, so there is no point getting a particularly recent or fast one.