• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: HFS error or Applescript error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HFS error or Applescript error?


  • Subject: Re: HFS error or Applescript error?
  • From: Doug McNutt <email@hidden>
  • Date: Thu, 10 Feb 2005 09:31:56 -0700

At 08:46 -0700 2/10/05, Gnarlodious wrote:
>I have a userfolder named "Rachel" on both Macs. If the disk is mounted I
>can say in shell:
>
>'/Volumes/Rachel/Music/iTunes/iTunes 4 Music Library'
>'/Volumes/Rachel-1/Music/iTunes/iTunes 4 Music Library'
>
>This gimmick allows me to do anything in the shell to the local or mounted
>disk but alas, I can't do Applescript on the mounted disk since it always
>operates on the local disk.


You could mount the remote disk in a subdirectory under /Volumes/

You would have to create the directory and then use one of the CLI mount commands to connect to the "server". I doubt that Finder will do it but it should be possible with "do shell script" commands.

I find that I have to do that, with mount_afp, to connect to my SE/30 running OS 7.5.5. I was originally  surprised to find that I had to do a mkdir to create a directory in /Volumes/ before running the mount command. That mkdir could just as well have created a subdirectory first and it doesn't have to have the same name as the disk.

Now, you ask, will Finder still show the disk on the desktop? Whonoze? It might require an alias or a link in /Volumes/. Or maybe Finder will use the name you choose in /Volumes/ if Finder doesn't mount the disk in the first place.


--
-->  There are 10 kinds of people:  those who understand binary, and those who don't <--
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >HFS error or Applescript error? (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: The future for AppleScript [was Re: where are the shell scripts ?]
  • Next by Date: Re: The future for AppleScript [was Re: where are the shell scripts ?]
  • Previous by thread: HFS error or Applescript error?
  • Next by thread: Re: QUOTED posix to HFS path
  • Index(es):
    • Date
    • Thread