Reputation
856
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
1 5 11
Newest
 Yearling
Impact
~68k people reached

  • 0 posts edited
  • 6 helpful flags
  • 63 votes cast
Feb
26
awarded  Yearling
Feb
15
awarded  Nice Answer
Jan
20
comment Needing to open OS X bash script as via launchd IN a terminal window
That's what I was afraid of... FWIW, sudo in the script should not be an issue, because those processes run as root AFAIK. (The permissions on the /Library/LaunchDaemons and /Library/LaunchAgents directories are quite strict). I'll try to think of something else in the meantime.
Jan
20
revised Needing to open OS X bash script as via launchd IN a terminal window
added 12 characters in body
Jan
20
comment Needing to open OS X bash script as via launchd IN a terminal window
I didn't try in the launchd script; but, when run as a su'd root user, the command would invoke a second instance of Terminal.app in the dock, and with the standard default colors and terminal size, etc; so, I know it is using the root preferences. The only thing I can think of during launchd is that it might try to start Terminal before the window server is ready for it.
Jan
20
answered Needing to open OS X bash script as via launchd IN a terminal window
Jan
13
answered Snow Leopard - Dock icons randomly disappear
Sep
14
answered “Preview” app crashing Mac OS X 10.10.5 (Yosemite)
Sep
10
revised How can I delete Time Machine files using the commandline
final(?) clarification about the hard link directories
Sep
10
comment How can I delete Time Machine files using the commandline
Brilliant! I think that's exactly what's going on; one less mystery in the world.
Sep
10
comment How can I delete Time Machine files using the commandline
I was (and am) surprised too. I added some terminal output to the answer above, but I still don't understand exactly what is going on. The link count being "1" when there are obviously more than one links is fairly disturbing. It's possible (nee, likely?) that previously mucking about in that directory has broken something... Your last sentence is probably the best advice in this thread. ;-)
Sep
10
revised How can I delete Time Machine files using the commandline
added 1958 characters in body
Sep
10
comment How can I delete Time Machine files using the commandline
I just experimented a little more. Running bypass unlink FILE has the same (unintended?) consequence as bypass rm FILE. The identical FILE is removed from all backups, not just the single location that was specified. And, unlink will NOT take a directory or more than one file as an argument (10.6.8 server; but, I don't think this will have changed through the newer OS versions)
Aug
26
comment How can I delete Time Machine files using the commandline
The man page for unlink (in 10.6.8) says that it cannot be used on directories: When the utility is called as unlink, only one argument, which must not be a directory, may be supplied.
Aug
21
answered How do I configure PHP to run locally?
Aug
21
comment How do I configure PHP to run locally?
It may be that the short tag <? is not supported. Try changing the file to start with <?php as the first line?
Aug
2
comment OSX HID control from PHP
Don't you need the full path to osxtype in the exec statement?
Feb
26
awarded  Yearling
Feb
14
awarded  Necromancer
Jan
16
answered On OSX, how to get rid of the empty spaces between windows?