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

Go Back   Shirt Pocket Discussions > Search Forums

Showing results 1 to 13 of 13
Search took 0.01 seconds.
Search: Posts Made By: afragen
Forum: General 08-22-2007, 11:30 AM
Replies: 9
Views: 14,488
Posted By afragen
Guys, don't be frustrated. There's a script at...

Guys, don't be frustrated. There's a script at that above URL that I run at the end of every SD run that unmounts the sparseimages, or any other AFP mounts for that matter.

Here's the gist of it....
Forum: General 08-21-2007, 02:05 PM
Replies: 9
Views: 14,488
Posted By afragen
You should look at this thread for a solution. ...

You should look at this thread for a solution.

http://www.shirt-pocket.com/forums/showthread.php?t=2378

Scripts are up at http://thefragens.com/pub/
Forum: General 08-21-2007, 01:55 PM
Replies: 16
Views: 28,064
Posted By afragen
Dave, could you post the contents of the 'mount'...

Dave, could you post the contents of the 'mount' command when SMB shares are mounted? I'm trying to adapt my unmount script to handle afp, sshfs and smb shares. Unfortunately I don't have sshfs or...
Forum: General 05-11-2007, 06:18 PM
Replies: 16
Views: 28,064
Posted By afragen
Chris, Your hacks are beautiful. In some...

Chris,

Your hacks are beautiful. In some preliminary testing here with multiple AFP mounts, the perl version (the only one I'm testing), works great. Just so you know here's what some of my afp...
Forum: General 05-11-2007, 11:15 AM
Replies: 16
Views: 28,064
Posted By afragen
Chris, Thanks for the refinements and...

Chris,

Thanks for the refinements and examples. I'm really just a shell scripting newbie. I love the ability to do so much with a small amount of code.

Though as I've just discovered all this...
Forum: General 05-11-2007, 12:56 AM
Replies: 16
Views: 28,064
Posted By afragen
This will/should work for multiple attached...

This will/should work for multiple attached network AFP mounts. I'm sure something similar would work for any other mount type.

#!/usr/bin/env bash

sleep 45

if [[ `mount | awk '/^afp_/'` !=...
Forum: General 05-11-2007, 12:37 AM
Replies: 16
Views: 28,064
Posted By afragen
What can I say, I don't have an SMB mounted...

What can I say, I don't have an SMB mounted drive. If you can provide me with the results of a 'mount' command with and SMB mounted drive I'm sure I can adapt the script for that as well.

You...
Forum: General 05-11-2007, 12:30 AM
Replies: 16
Views: 28,064
Posted By afragen
You're welcome.

You're welcome.
Forum: General 05-10-2007, 07:44 PM
Replies: 7
Views: 17,680
Posted By afragen
See this thread....

See this thread. (http://www.shirt-pocket.com/forums/showthread.php?p=12047#poststop) In it I wrote a script that will do exactly this.
Forum: General 05-10-2007, 06:40 PM
Replies: 16
Views: 28,064
Posted By afragen
This script will do exactly what you want. I...

This script will do exactly what you want. I think. :)

#!/usr/bin/env bash

sleep 45

if [[ `mount | awk '/^afp_/'` != "" ]]; then
#...
Forum: General 05-09-2007, 05:51 PM
Replies: 7
Views: 17,680
Posted By afragen
In this thread...

In this thread (http://www.shirt-pocket.com/forums/showthread.php?t=2378), I wrote about a script I did to unmount network AFP drives. It does this when the script notices a router change but it can...
Forum: General 05-09-2007, 05:26 PM
Replies: 2
Views: 7,593
Posted By afragen
See this thread....

See this thread. (http://www.shirt-pocket.com/forums/showthread.php?t=2378)
Forum: General 05-09-2007, 05:24 PM
Replies: 16
Views: 28,064
Posted By afragen
I've written a shell script that will do...

I've written a shell script that will do something just like this. What it does is check the MAC address of your current router. If that MAC address has changed then it will force dismount any AFP...
Showing results 1 to 13 of 13

 
Forum Jump

All times are GMT -4. The time now is 08:47 AM.


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