Tag Info

Hot answers tagged

9

System Version Number follows MAJOR.MINOR.PATCH convention. From this site: Given a version number MAJOR.MINOR.PATCH, increment the: MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards-compatible manner, and PATCH version when you make backwards-compatible bug fixes. Additional ...


8

For every OS X 'delta' release - 10.10.1/2/3/ ...10.10.4 etc - which App Store will download to each Mac there is a simultaneous 'combo' update release which rolls up all the previous deltas into one single downloadable update. It was for many years considered the 'pro' way to do the update, as it can also correct potential update issues that the delta ...


7

This should help identify what is going on in Johnny's answer, as well as answer the question of why this works on Linux but not Mac. The problem lies in the fact that Mac OS X uses bsdtar, whereas most Linux systems use gnutar. You can install gnutar on a Mac with Homebrew, using brew install gnu-tar, which will symlink gnutar into /usr/local/bin as gtar. ...


6

You can't be 100% sure unless you do it yourself (with an Apple provided DVD or DMG).


6

You need iTunes 12.2 - presumably will be out any minute now… Update 07:30 GMT 1st July. OS X 10.10.4 iTunes 12.2 & iOS 8.4 all now available & successfully installed here.


6

Don't use the open command. Google Chrome: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome "file:///Users/me/index.html#my-anchor" Safari: osascript -e 'tell application "Safari" to open location "file:///Users/me/index.html#my-anchor2"'


5

Get someone to download the installer from the App Store - just download it, don't install. Apple documents how to create a bootable installer - https://support.apple.com/en-us/HT201372 using any USB drive or even an SD card should your Mac have that slot. Plug that device in to your Mac. Remember to hold down the option key when your Mac starts up. ...


5

In iTunes, go to iTunes Menu > Preferences > click the "Devices Preferences" tab, and tick the "Prevent iPods, iPhones, and iPads from syncing automatically" box. This will stop iTunes from opening automatically when you plug in your iPhone. You can also connect your iPhone to iTunes, stop the sync, click the iPhone icon in the upper left corner of the ...


5

rm is a standard Unix command and Unix does not always have trash. At the programming level the BSD API does not have a system call to trash a file, Apple supplies those at a higher level. Also you need a command that deletes files e.g. to remove them from trash and rm happens to be it. You need another command to put a file in trash.


5

Turns out the OS X tar utility was the correct one! There was indeed an error in the archive. This email thread discusses it in more detail, but the problem is that there is a duplicate file in the archive. The SCIP guys are fixing the archive as I type this. [edit] scip-3.2.0.tgz is now extracting just fine! The SHA-1 hash of the new tgz is ...


5

The existence of a duplicate file in the archive should not make it invalid or unable to be extracted on OSX, as by default, tar overwrites duplicates. So, I'm a little confused by the behavior in your Gist - OSX tar allows for duplicate files in an archive (a throwback to its original purpose as a tape archive utility, so it allows files to be appended to ...


4

You might do it like this: ls /path/to/folder | grep -v "Extensions" grep -v "Extensions" excludes "Extensions" from the listing.


4

I would go about it like this: find . ! -name <filename> -delete for this to work with folders, you have to replace the delete with an exec rm -r find . ! -name <filename> -exec rm -rv {} \; This breaks down to find = find . = in current working directory, you can replace . with a path, like ~/Documents/ ! = not -name = name ...


4

The rsync command line tool is able to merge two folders. You'll need to open a terminal window. Take a look at the manual pages man rsync There may be a one liner but the following steps are non-destructive since you won't change your source folders. Create a new folder (dest) Sync source1_path to dest Sync source2_path to dest Here the script - ...


4

Apple Music require iTunes 12.2, which is not included in Yosemite 10.10.4 so, soon, Apple should release another update exclusively for iTunes where there should be a button to play Apple Music. You can get that update from the iTunes menu - select Check for Updates... If that update isn't rolled out or available, you can listen here: ...


4

I would recommend using the "grep" and "awk" commands from bash. You can use them to parse the data given in bash. Here is example using the details you described above. /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | grep "channel" | awk '{print $2}' Do yourself a favor and sym link the binary to ...


4

OS X and iOS use ntp-like software daemons to poll for and periodically adjust internal clocks based on external time sources. A leap second arrives as an external correction similar to how each hardware clock corrects minor (or major) skews and inaccuracies periodically. OS X ships with perl modules to accurately determine if a leap second is coming or ...


4

I've created a node module for this that supports setting the brightness using the CLI. See https://github.com/kevva/brightness-cli. npm install --global brightness-cli And then simply just run brightness from your command line.


3

I'd really consider trying to fix the existing OS long before exacerbating the situation by trying to force another over it. Start with Disk Utility - Repair Disk Permissions & Verify Disk [startup from the Recovery partition, Cmd ⌘ R at the startup chime, if the Disk needs Repairing]. Again from the recovery partition, reset home folder ...


3

Generally speaking this info is sent so it recognizes people and places. I would also imagine that it will use address information to infer what you are talking about and make more accurate guesses. Apple has a rather long, informative, article on dictation here: https://support.apple.com/en-us/HT202584 And has a way to change it to Mac-Based dictation so ...


3

I've always wondered the same thing: how to keep OS X from storing the WPA passphrase (or PSK) in NVRAM. Using 'nvram' I could never find the variable that I thought held these credentials. Today, I tried booting to a USB live image of Linux and running Chipsec. Its command to list EFI variables has many more results than I was getting by running nvram ...


3

It's supposed to disappear after you use Spotlight three times, but you can force it to disappear by setting the use count to three and setting showedFTE to true: defaults write com.apple.Spotlight showedFTE -bool true defaults write com.apple.Spotlight useCount -int 3 killall -HUP Spotlight


3

Did you download and install Yosemite previously? It should be still available for download when you will open Apple Store. In terms of specific branch (10.10.X), you can always download 10.10 and then once the Yosemite is installed, perform an update to apply Hotfixes to the recent 10.10.X version.


3

The a2ps utility is for formatting files for printing on a PostScript printer, hence its name is not a2pdf. The file you created under Linux (or OS X), which is a miss-named .pdf file, is in fact a PostScript file and many Linux Distros will open it anyway. Thus leading you to believe is was a PDF Document when in reality it's not. Looking at the file ...


3

The OS X Server App allows you to cache data on your network as well as manage multiple devices and installations/updates on them. This would simplify things for you in the long run, but there might be a slight learning curve to start out. I haven't used the Yosemite version of the Server App yet so can't give you more specifics. It's something to look into ...


3

There is no evidence of any malware from the output of your discoveryd normally running daemon. Your pkill -f 6115 command failed because luckilly you don't have a process which full command name would be 6115. This is the sign of too fast reading the pkill documentation and not at all of an attack. If you really want to kill discoveryd here is the correct ...


3

I have a solution that I was able to reverse engineer. I've tested it on my machine, running Yosemite 10.10.4 (14E46). If you can find the bundle ID (in the Info.plist file for the app bundle), you can use this script to force the app to appear in the notifications preferences pane. # "Usernoted" seems to be the "user notifications daemon", so get it's PID. ...


3

You are almost there. cp with the -R option and the arguments SOURCE DESTINATION cp -R /absolute/path/to/source/folder $HOME/Library Replace /absolute/path....../folder with the real absolute path to the folder you wish to copy


3

I'm not sure it's set in stone anywhere, but the convention for Ask Different seems to be along the lines of <kbd> Cmd ⌘ </kbd> <kbd> Ctrl ⌃ </kbd> <kbd> Opt ⌥ </kbd> <kbd> Shift ⇧ </kbd> <kbd> T </kbd> Cmd ⌘ Ctrl ⌃ Opt ⌥ Shift ⇧ T giving the abbreviated name & key symbol, no + ...


3

You can simply add your export PATH... line in your bash_profile file. This file is run every time you start terminal and will modify your PATH variable as you want. You can open/edit this from anywhere in terminal using open ~/.bash_profile You probably also want to check that there are no conflicting export PATH... statements that overwrite each other ...



Only top voted, non community-wiki answers of a minimum length are eligible