1
vote
1answer
39 views

Why is 'xattr' not working?

When I attempt to execute xattr in Terminal, I get Traceback (most recent call last): File "/usr/bin/xattr-2.7", line 33, in <module> import xattr ImportError: No module named xattr ...
0
votes
0answers
31 views

/Volumes directory gone missing. Scared to reboot. Mystified

Somehow my /Volumes directory has gone missing. Fooling around with fuse, trying to mount my iPad's filesystem, I typed sudo ifuse /Volumes/ and lo, my /Volumes directory is gone. cd /Volumes returns ...
0
votes
0answers
14 views

Convert absolute symlinks to relative ones?

I've seen plenty of threads on the Internet about doing the opposite, but what I want to do is, given a folder: /Lib/Foo/Bar.framework/Versions/1.5 And a symlink to it: ...
4
votes
3answers
105 views

Is there a way to set/unset the execute bit on a file in osx 10.6.8 without using terminal (or bypassing it)?

I would like to do the following: chmod +x filename.txt without using the terminal. Is there a way to bypass the terminal and invoke a kernel system call ? I'd rather not write a program to do ...
0
votes
1answer
91 views

Finder hiding specific file by name

At some time my MBA 10.8 Finder decided (or was it me) to hide certain files from me. Here is the example (I have few other files like it) .. The Water Horse.flv Originally those files are ...
1
vote
2answers
47 views

drag file from file chooser or get path

Editing a file using text wrangler. Want the path so can pass it to a program in the terminal. Is there an easy way to do this? Don't seem to be able to drag it nor right click and get info. I'm not ...
1
vote
1answer
65 views

How do I verify the integrity of my OSX installation? (Files, versions, and preferences)

I want to verify the files, and configuration settings for my OSX installation against a known good reference "base". Assuming I have two identical Macs (hardware), with one being factory installed ...
3
votes
2answers
219 views

Always open a file in a specific program

I'm having an issue with forcing a file of a certain type to always open with a specific program. In this case, it's .indd (Adobe InDesign) files. I have Adobe CS6 installed, and also Adobe InDesign ...
1
vote
1answer
306 views

Search all hidden .htaccess files inside a folder and run a terminal command?

Searching for the issue, I found this Q&A: How can I show only an .htaccess file in the Finder? [...] you could create a symlink to the file in its directory, omitting the dot in the name: ...
0
votes
3answers
439 views

Unremovable directory

I have a problem with a seemingly unremovable directory/bundle. I moved Spotify.app from /Applications to the Trash and later tried to empty the Trash. The empty trash progress bar shows up but then ...
2
votes
1answer
479 views

`open http://foo.com` and specify the chrome user which is to be used

Using the open command from terminal I would like to be able to specify the chrome the specific chrome user to open the url with? Local Chrome users are outlined here. Essentially I have a local ...
1
vote
1answer
552 views

Copy system bundle to a Mac on network?

I screwed up while using Monolingual and removed the "AppleKeyboardLayouts.bundle". Before I realized what happened, I logged out and now I can't type a password to log back in. I have tried to copy ...
1
vote
5answers
407 views

How can I create an entry in the /Applications folder that runs a command in the terminal?

I would like to have an item in the /Applications folder that will open a new terminal window and run a specific command inside. How can I create this?
3
votes
3answers
2k views

Opening a terminal window to a specific directory from a bash script

How can I write a bash script in Mac OS X that opens a Terminal window in a specific directory? I'd assume something like: open /Applications/Utilities/Terminal.app But that does nothing (maybe ...