Finder Script Idea: Take me to a Specific Folder?
Finder Script Idea: Take me to a Specific Folder?
- Subject: Finder Script Idea: Take me to a Specific Folder?
- From: "Stranathan, Dan" <email@hidden>
- Date: Tue, 12 Aug 2008 16:43:49 -0500
- Acceptlanguage: en-US
- Thread-topic: Finder Script Idea: Take me to a Specific Folder?
I have a strange request. Im looking for a simple solution that would do the following:
When right-clicking a file or folder that is on a mounted SMB network volume, I want to be taken to the top (root) level of that particular volume (relatively speaking). More specifically, I want to be taken into a hidden folder that lives at the top of all my SMB share points .
Example:
1) A user mounts a SMB share named "Science" from a server named "Server1". The user proceeds to drill into the share point via the Finder to a folder several levels deep:
2) /Volumes/Science/Projects/Project1/Data/...
3) Then the user right-clicks the folder named "Data", and chooses my contextual menu named "Previous Versions...".
4) New Finder window opens and the user is taken to the top of the Science SMB volume and into this hidden folder named ".ckpt":
/Volumes/Science/.ckpt
5) If the Volume doesn't have a top level hidden folder named ".ckpt", then display a simple message and exit.
6) Done.
OK, why do I want to do this?
My file servers are EMC Celera NAS servers. The EMC appliance has a native snapshot tool that can tie into Microsoft's "Shadow Copy" snapshot restore functionality. EMC doesn't really use Microsoft's implementation, but the concept is the same as far as Windows clients are concerned when it comes to restoring a recent file. EMC's solution is called CheckPoint. EMC hides the backup snapshots for each shared volume in a folder named ".ckpt" (CheckPoint). EMC creates one folder named ".ckpt" for each volume. The ".ckpt" folder is really a symlink to another folder/volume with read-only permissions etc. If you are smart enough to know where to look, you can easily find the ".ckpt" folder and retrieve backup files, even via OS X!
In Windows, a user simply right-clicks on a folder or a file on the EMC NAS, and opens the standard "Properties" box for that object. They select the tab named " Previous versions" and they can choose a snapshot date, open a Windows Explorer window where they can then view/cut/copy/move the chosen files. This allows Windows users to recover their own files (assuming the data they need has been backed up up recently, etc.). Its pretty slick.
I want to reproduce this process with Mac OS X. The Mac has no problem seeing the ".ckpt" folders. I want to create a contextual menu that can simulate the Windows user's experience as simply and cleanly as possible. It wont be able to provide the fancy GUI that Windows has, but at least it can take the user to the relative ".ckpt" folder and let them decide what to do from there (this is the point I need to train my users, of course)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden