Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 10 of 10
Search took 0.00 seconds.
Search: Posts Made By: dnanian
Forum: General 01-02-2007, 11:39 AM
Replies: 20
Views: 24,812
Posted By dnanian
Yes. You save it as a text file, mark it as...

Yes. You save it as a text file, mark it as executable (chmod +x the-file), and point to that.
Forum: General 01-02-2007, 11:26 AM
Replies: 20
Views: 24,812
Posted By dnanian
Set it as the "after copy" shell script in the...

Set it as the "after copy" shell script in the Advanced tab of Options.
Forum: General 12-10-2006, 06:23 PM
Replies: 20
Views: 24,812
Posted By dnanian
Teamwork! ;)

Teamwork! ;)
Forum: General 12-10-2006, 04:36 PM
Replies: 20
Views: 24,812
Posted By dnanian
I think you'll now be able to do this with a...

I think you'll now be able to do this with a single line, since the mini-script worked, the tricky thing being escaping things properly, and I couldn't figure it out. So put the eject in a little...
Forum: General 12-10-2006, 11:41 AM
Replies: 20
Views: 24,812
Posted By dnanian
OK. My mistake: diskutil will only eject local...

OK. My mistake: diskutil will only eject local volumes. This is a network mount. So, try:

#!/bin/sh
osascript <<77
tell application "Finder" to eject "the-volume-name"
77
Forum: General 12-10-2006, 12:26 AM
Replies: 20
Views: 24,812
Posted By dnanian
Try "eject" instead of "unmount" and see if that...

Try "eject" instead of "unmount" and see if that works.
Forum: General 12-09-2006, 11:16 AM
Replies: 20
Views: 24,812
Posted By dnanian
Capitalization would likely matter with the...

Capitalization would likely matter with the command, yes. What I'd suggest is running it yourself, in Terminal, until you get it to work as expected...
Forum: General 12-09-2006, 09:14 AM
Replies: 20
Views: 24,812
Posted By dnanian
No, it's already running with escalated...

No, it's already running with escalated permissions. Does your drive perhaps have a space in its name or something like that? Check the Console to see if there are any errors.
Forum: General 11-28-2006, 11:51 AM
Replies: 20
Views: 24,812
Posted By dnanian
Something like this: #!/bin/sh nohup...

Something like this:

#!/bin/sh
nohup /bin/bash -c "sleep 20; diskutil unmount /Volumes/TheShare" &
Forum: General 11-27-2006, 04:35 PM
Replies: 20
Views: 24,812
Posted By dnanian
You could try to either modify the "schedule...

You could try to either modify the "schedule driver" (inside the application package) to do it, or write a little shell script that tosses an event into the background, waits 20 seconds or so and...
Showing results 1 to 10 of 10

 
Forum Jump

All times are GMT -4. The time now is 12:24 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.