Tag Info

Hot answers tagged

4

Although the bmike's answer will probably work, I suggest to try something more leightweight first. This article describes the procedure: Boot your Mac's Recovery Partition by pressing cmd+r at startup Go to Utilities > Terminal Enter resetpassword In the GUI select the disk and user and enter a new password. Press Save. (Reset of home directory should not ...


4

I have just created and uploaded a GitHub Gist GitHub Gist which may help you out. The main functionality is: function get_apps_folder () { mdfind -0 -onlyin / \ 'kMDItemKind=="Application" && kMDItemDisplayName="'"${1:-TextEdit}"'"' \ | xargs -0 -I{} dirname {} } function open_apps_folder () { open $(get_apps_folder "$1") } ...


4

In general, you should hold the key(s) down until they take effect. For single-user and verbose modes, that means hold them until you see text start to appear. For the others, it's generally ok to let go once you see the Apple in the middle of the screen (the Apple is drawn by the booter, which loads after the firmware has detected startup options). If you ...


3

Your Pages templates are located in the following folder: ~/Library/Containers/com.apple.iWork.Pages/Data/Library/Application Support/User Templates You can rename and delete templates without accessing the folder directly, by right-clicking on a template in the template chooser.


3

Icons Icons on the Dock are pulled from the icon of the item. You can change the icon of the item using the Get Info page. Get the icon/image that you want to use for the icon on the Dock and open it in Preview. Press ⌘A to select all of the image and ⌘C to copy it. ⌘-click the item in the Dock to open its location in Finder. Open the Get Info window with ...


3

Just type: mdfind <target_file_name.ext> If there are any matches, you will be presented with the relevant associated path(s). If there's more than one, choose whichever is appropriate and hardcode it. For example: me@MacBook-Pro:~$mdfind "VMware Fusion.app" /opt/homebrew-cask/Caskroom/vmware-fusion/7.1.2-2779224/VMware Fusion.app Or ...


3

For people stumbling upon this in an OS X 10.11+ era (El Capitan or newer): Apple has added a whole new layer of security in OS X. They have taken away some privileges from root. The file you are trying to modify has a restricted flag. Only restricted processes which are signed by Apple will be able to modify these files. However, you can disable this ...


3

That's because it will differ slightly depending on what hardware and the startup behavior it's being preformed on. From Startup key combinations for Mac it states: Some Mac features are available by holding down certain keys during startup. Press and hold the keys immediately after you turn on your Mac and hear the startup sound. Keep holding ...


3

Looking just at the big parts You shouldn't touch anything in /private, as these are files used by OSX. Removing unneeded drivers from /Library/Printers shouldn't pose a problem (I only have the Canon drivers for the model I'm actually using in there) .../iTunes/iTunes Media/Mobile Applications contains all the apps you've ever purchased. You can, if you ...


3

I have uploaded a bash script as a Gist to my Github account at print_osx_uptimes.sh which may help answer your question, even if not exactly what was asked (which was more complicated). The script will query the Apple System Log (ASL) facility for 'shutdown' messages. The 'Message' field’s values contain the system uptime as of the shutdown event, which I ...


3

fwiw, find [options] -print0, when used in conjunction with (piped to) xargs -0 [options], handles filenames with spaces, without messing with for loops or IFS: find /Users ! -path '/Users/Shared*' -type f -print0 | xargs -0 -I {} \ bash -c 'if [[ "$(file -b --mime-type -- "{}")" = "application/x-mach-binary" ]]; then chmod 700 "{}" ...


2

I found a suggestion to add a piece of paper between the 2 batteries, and have this paper push slightly against the mouse cover. Worked for me. Many other suggestions found here: https://discussions.apple.com/thread/2217770?start=90&tstart=0 Also: https://discussions.apple.com/thread/6602914?start=15&tstart=0


2

There is a deluge of info in a kernel panic log. I have had some problems lately so I was looking at kernel panics on my macbook and can offer the following hints based on some .panic logs I have. First the name of the log is important. you need to look for files of the following form in your system diagnostic folder: kernel-**(some personal data like name ...


2

Two quick and easy options: You can use Spotlight (mdfind) via command-line for high level items: appLocation=$(mdfind Fusion.app) echo $appLocation /Applications/VMware Fusion.app Or if you use the locate binary (pre-requisite command to enable it will be noticed first time you use it). appLocation=$(locate vmrun) echo "Found at " $appLocation Found at ...


2

There may be a piece of commercial software that can intercept a call to reboot/shutdown however I do not know what it is, if it exists. My suggestion, despite you editing out the issue in your OP, is to fix the issue and not look for a workaround! That said, I give you a workaround that you certainly can test and it should prevent a software call to ...


2

Forgive me if I've missed something, but iTunes organizes video files and meets all of your stated requirements as of the time of this posting. You can add images to the file's metadata, set the season, and set the episode by right-clicking on the file, selecting 'get info', and entering the data in the appropriate spaces. iTunes will display files' ...


2

Memory Pressure is a better indicator of the health of the virtual memory system than the traditional UNIX measure of free, inactive and active pages. For a brush up on the previous measure, have a read at: Isn't Inactive memory a waste of resources? Now, the caching of files is drawn as a good thing (green memory pressure) and you will only see the ...


2

Pretty much any MDM can enable / monitor gatekeeper status. If you want inexpensive, you can use Server.app for $20 and go up from there. Apple Remote Desktop also lets you automate things. Heck, you could set up ssh keys and use that to run spctl by script. spctl --status The manual page shows you how to enable and disable gatekeeper with spctl as well ...


2

I believe this is what you're looking for: alias vmrun=\"`osascript -e 'tell application "Finder" to get POSIX path of (application file id "com.vmware.fusion" as alias)'`/Contents/Library/vmrun\" Now when I type vmrun, without any arguments, in a Terminal and press Enter it outputs the internal help file, as it should. This works on my system, however ...


2

You may open a second instance of an application by entering in Terminal.app: open -n /Path/To/Application.app Some apps (e.g. iTunes.app) don't open an additional instance.


1

The best thing is to have a bootable backup of your iMac drive, such as one created by Carbon Copy Cloner or SuperDuper. You do have one of those, right? A Mac can be started via a USB port, as a USB key or drive, but that device needs to have Mac OSX on it to boot, as well as other requirements. Best bet is to always backup your iMac hard drive with a ...


1

These are google preferences files. They are created outside the program binary because that's how applications should behave on OSX. If you delete them, you'll loose your chrome preferences and they will be automatically recreated by Chrome, so no need to delete them.


1

Yes. You could even get by if you had 500 GB of data to back up. If you don't use Bootcamp, tell time machine to exclude the VM hard drives. Wireless is fine - the initial backup could take longer and restores will take longer than a USB drive, but you'll get more backups if you don't need to remember to connect a USB.


1

This is a bug introduced in iTunes 12.2 at the end of June. It appears that iTunes has done some sort of averaging of track ratings and written them as album ratings overwriting the original per-track ratings. I've seen this issue with my library of approximately 100,000 tracks and have filed a bug report with Apple in Radar. Removing the album rating data ...


1

I can just give information to a few of the locations you specify. I wouldn't bother with the files under /var - even if you can delete them the system will recreate them. There are a few apps in the appstore which can cleanup cache files maybe one of these can help with part of your question. I used ccleaner - but they all seem to have similar ...


1

You can do this like so: Install Soundflower (from https://rogueamoeba.com/freebies/soundflower/) Option-click the volume icon and change both the input and the output device to "Soundflower (2ch)" Start the Soundflowerbed application that comes with Soundflower, then click its icon in the top right (of a flower) and choose "Built-in Output" from the list ...


1

Make sure you hold down the special key(s) upon hitting the power button, and keep holding the special key(s) down until you hear the startup chime.


1

One other thing you can do to free up space is remove GarageBand and all of its sound loops and content. Of course, this will make it impossible to use GarageBand, and if you have used any of that content with other programs, like iMovie, it will be gone from them as well. But if you don't care about this content, removing it can free several gigabytes of ...


1

Please don't use any apps to do this, just open the terminal. Try taking ownership first: sudo chown -R LCLindley.admin /Volumes/Little\ Travel\ Buddy then try fixing permissions so you can actually read and write it: sudo chmod -R 755 /Volumes/Little\ Travel\ Buddy


1

Probably a hardware problem rather than a software problem. Take it to the Apple Store and they'll check the underneath of the keyboard.



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