Re: Converting Aliases to Symbolic Links

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44038
interpreted = N
texte = Something like this will resolve an alias with applescript ..set aFile to filenametell application Finder try if class of item aFile is alias file then set aFile to original item of afile as alias end if end try end tellafileBUT - I just tried to integrate this into webcat and you can't pass variables into applescript by the looks of it .. Which is a bummer otherwise you could write a recursive directory checker using [listfiles]If any one knows how to pass variables to applescript - speak up now ...Alain>> Since it appears as though WebCat 4.5 Plugin for WebStar V on MacOSX >> does not support aliases, does anyone know of a way to convert aliases >> into symbolic links? I just performed a search on my websites folder, >> and discovered that there are 101 aliases in numerous locations within >> that directory structure. To convert these all by hand, I will have to >> figure out where each alias points; then, using Terminal, I will have to >> type in the path of each link and to where it should point. This proves >> to be a daunting and time-consuming task. Does anyone have an >> suggestions or helpful tips? >> >> Thanks, >> >> Dennis > > Hi Dennis, > > We went through the same thing when we upgraded from OS9 to OSX/Apache. > > To build a list of all your aliases (and Icon files, for that matter), do > this: > > find /Library/WebServer -size 0c -ls > > There may be a way using Applescript in OSX to determine the source > of the alias and then create a soft link (ln -s) to make it > apache/webstarV-compatible, but I'm no Applescript wizard. Besides, > we had so few aliases that I just fixed them by hand once I knew > where they were. > > Good luck. > > -Dale > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Converting Aliases to Symbolic Links (Dennis J. Bonsall, Jr. 2002)
  2. Re: Converting Aliases to Symbolic Links (Brian Fries 2002)
  3. Re: Converting Aliases to Symbolic Links (Kenneth Grome 2002)
  4. Re: Converting Aliases to Symbolic Links (Alain Russell 2002)
  5. Re: Converting Aliases to Symbolic Links (Dale LaFountain 2002)
  6. Converting Aliases to Symbolic Links (Dennis J. Bonsall, Jr. 2002)
Something like this will resolve an alias with applescript ..set aFile to filenametell application Finder try if class of item aFile is alias file then set aFile to original item of afile as alias end if end try end tellafileBUT - I just tried to integrate this into webcat and you can't pass variables into applescript by the looks of it .. Which is a bummer otherwise you could write a recursive directory checker using [listfiles]If any one knows how to pass variables to applescript - speak up now ...Alain>> Since it appears as though WebCat 4.5 Plugin for WebStar V on MacOSX >> does not support aliases, does anyone know of a way to convert aliases >> into symbolic links? I just performed a search on my websites folder, >> and discovered that there are 101 aliases in numerous locations within >> that directory structure. To convert these all by hand, I will have to >> figure out where each alias points; then, using Terminal, I will have to >> type in the path of each link and to where it should point. This proves >> to be a daunting and time-consuming task. Does anyone have an >> suggestions or helpful tips? >> >> Thanks, >> >> Dennis > > Hi Dennis, > > We went through the same thing when we upgraded from OS9 to OSX/Apache. > > To build a list of all your aliases (and Icon files, for that matter), do > this: > > find /Library/WebServer -size 0c -ls > > There may be a way using Applescript in OSX to determine the source > of the alias and then create a soft link (ln -s) to make it > apache/webstarV-compatible, but I'm no Applescript wizard. Besides, > we had so few aliases that I just fixed them by hand once I knew > where they were. > > Good luck. > > -Dale > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Alain Russell

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Status of variable hierarchy changes? (2000) TABLE (2003) [Fwd: can we get string variables?] (1998) Supressing Error Messages (1998) Loop into field (1998) "top" Clarification ( for apache ) (2008) WebCatalog for Dummies p.1 (2000) [OT] Help Webcat 213 win (2000) email program problem (1998) Calculating Shipping (1997) Changing user submitted data (2000) Support ?? (1997) Interactive Docs (2007) Re:multiple digests, please stop (1997) Web Developer Product Awards (1997) SSL for Store Builder Sites? (2003) Re:listfiles-looking for slick solution (1997) Problem with [CART] number (1998) [WebDNA] Can I do something with webdna to pass-protect an attempt to access a swf file directly? (2009) Summing fields (1997)