Tag Info

Hot answers tagged

4

There is a C function 'CSBackupSetItemExcluded' you can use to tell Time Machine to exclude a file. You can find it documented here... https://developer.apple.com/library/mac/documentation/MacOSX/Reference/Backup/#//apple_ref/c/func/CSBackupSetItemExcluded


3

/private/etc/hosts seems to be working normally for me in Yosemite (version 10.10.1). It's not necessary to flush the cache or reset discoveryd (the DNS resolver in Yosemite); sudo fs_usage | grep private/etc/hosts shows discoveryd reading the file immediately after I save changes to it. However, dig, nslookup, and host will not see entries in it because ...


3

Why not just use an SSH Tunnel via OSX's built in Terminal?... Launch an SSH tunnel To initiate your SSH tunnel, simply [open Mac OSX / Linux Terminal][1] and connect to your remote server via SSH with the following flags: ssh -D 8080 -C -N username@example.com This will launch our SSH tunnel on port 8080 and route all traffic (securely) through the ...


2

This seems to be an attempt to write something to the ~ directory, but instead has been written to the file /~. This file isn't required by OS X, but if an app is still using it then deleting it could break things. Make a backup if you delete it.


2

I suspect that the Clock application is code-signed, which is likely what is causing the crash. I tried to do the same LSUIElement change in the plist file to Clock.app and it gave the same crash. Some research told me the following: There's one more step to the process if the developer has signed the application with an Apple Developer Certificate — ...


2

Go to Activity Monitor's Memory tab and sort the list of processes by Memory. You'll have a complete list of your biggest RAM hogs, complete with the ability to select and quit them right from Activity Monitor. Also, Memory Diag is a great app for freeing up RAM. Just click on its menu bar icon, click the big Optimize button (provided you're not at critical ...


1

The caffeinate command line utility (built in, at least in Mavericks and Yosemite) does just this. "man caffeinate" for more


1

It appears to be a known issue without a switch yet. Check out this forum https://discussions.apple.com/thread/6634705 Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.


1

Download the latest Yosemite installer from the Mac App Store but do not install it. Copy following in to your Terminal to verify the downloaded Yosemite file is correct: shasum /Applications/Install\ OS\ X\ Yosemite.app/Contents/SharedSupport/InstallESD.dmg Wait for a minute for it to calculate. The result for the previous version should be: ...


1

I have found a solution (possibly temporarily), as part of our loginhook shell script I have entered the following: UserName="$1" UserGroup="$(sudo -u $UserName id)" if [[ $UserGroup == *teachers* ]] ; then networksetup -setwebproxy Ethernet <hostname> <port> off ; else networksetup -setwebproxy Ethernet <hostname> <port> off ; fi if ...


1

This can be done using AppleScript, like in the question you linked to. Watch out, this is not the same as Automator. Example script: osascript -e 'tell application (path to frontmost application as text) set myFile to choose file POSIX path of myFile end' This uses the simplest form of the choose file command, and puts the result in the variable myFile. ...


1

I've been doing something similar recently and this is the most elegant solution I came up with: set scr to "on run argList return {|" & dictKey & "|: (item 1 of argList)} end run" set newDict to (run script scr with parameters {dictVal}) Hope it still helps!


1

This problem has been bugging me for months. I've kept a weather eye on the Google results, poked around trying to find my own solution, upgraded to Yosemite to see if the issue was resolved there, but nothing turned up. So, during the Thanksgiving break I decided to sit down and fix this once and for all. Looooong story short, every time you add a tag it ...


1

BetterTouchTool is actually the best solution. You can do so much with it. ANd once again it comes to the rescue here since Apple is too stupid to fix this after 15 years of a senseless green window button. I setup left clicking the green button normally to the old behavior (i.e.: does whatever it wants without rhyme or reason), ctrl-left click green button ...


1

I encountered the same problem after updating to 10.10.1. When I was booting through single user mode I noticed that fsck was reporting that the root file system didn't have journaling enabled. After booting into OS X Recovery and enabling journaling on the volume in Disk Utility the kernel panics stopped. I suspect that your problem will be solved by ...


1

Instead of rebooting, you can simply enter "killall quicklookd" in Terminal. That fixed it.


1

I've had issues reconnecting my bluetooth keyboard & trackpad since upgrading to Yosimite. I run this script via custom Automator Application: Search for (Spotlight search) and run Automator Click "New Document" at bottom Choose "Application" for new file type Click on "Utilities" from list Double-Click "Run AppleScript" Replace (* Your script goes ...


1

You could right click on the top bar and open the folders you want.


1

Try command clicking on the blue Project folder, for you it's the Portfolio Manager App bit on the left.


1

Since FusionDrive is really Corestorage with some added magic (or supposed to), there is no mandatory reason to assign the whole SSD to the Fusion drive. When creating you DIY Fusion drive, just reserve space by creating adequate partitions and refer to the partition ID (diskXsY) instead of the whole disk.


1

In my opinion it shouldn't be a problem: delete the CoreStorage LVG (FusionDrive) and end with 2 seperate disks: the SSD and the HDD. Install Mac OS X on the SSD. use the Bootcamp Camp Assistant to install Windows 7/8 on the SSD partition the HDD according to your needs (HFS+ & NTFS/HFS+/NTFS) You will end with a partition layout similar to that: ...


1

Try: set pathA to POSIX path of (path to desktop as text) & "test.app/Contents/Resources/Stuff/audio.m4a" -- or set pathB to POSIX path of (path to home folder as text) & "Desktop/test.app/Contents/Resources/Stuff/audio.m4a" do shell script "afplay " & quoted form of pathA


1

set myPath to POSIX path of (path to resource "audio.m4a") do shell script "afplay " & quoted form of myPath or set myPath to POSIX path of (path to resource "audio.m4a" in directory "Stuff") do shell script "afplay " & quoted form of myPath You should look at the libraries in the library window of Script Editor. In this case ...


1

I just discovered that it can be done by switching to the adjacent workspace using Ctrl + Left (or Right) arrow. Update: After I restarted the OS (or maybe created a new user, sorry not sure) I noticed that when I switch to new profiles they are now created under the same app group so I can do again Cmd + tilde. Update 2: I just discovered that the green ...


1

Chrome is updated automatically by a process that runs in the background. Though sometimes I have to launch it and update it from the"About Chrome" menu selection, that may me being to picky avoid what Little Snitch tells me about... Anyway you don't (or shouldn't) have to do anything, it will update all by itself with no loss of anything. Just check "About ...


1

One approach that's forward compatible and will not get overwritten in an OSX update is to create a script that does ls -l Screen*.png (on the correct directory of course, I'm writing generically) if the list is empty the script exits, if not it uses mv to rename the file (and optionally move it if you also want to, you wouldn't need to since the renamed ...


1

Yes, this feature still exists, and operates in the same way. As an example, here is a connection from one Yosemite machine to another:


1

You can make use of automator to make a simple program that can do such a thing. Make use of : Create Archive : to do it, and add an additional block to delete the original file.


1

You can create You're own Automator script for this. Create Service in Automator as an input argument choose Files and directories then add Shell script which as an input takes arguments instead of stdin. Then paste this script inside: tar -czf "$(dirname $1)"/"Archive-$(date +%Y-%m-%d-%H-%M-%S)".tar.gz "$@" && rm -rf "$@" I can provide ...


1

I know this might not be what you actually want to hear, however... Fullscreen/Menus is an either/or You can have one or the other. That's the whole idea, like it or not. The workaround is to learn the key commands. Once you do, you'll wonder what the menus were ever for. BTW, your two scenarios are mutually exclusive & simply require more accurate ...



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