Hi,
I've been asked to see if I can help our Mac users.
I'm going to be moving about 350 Gb of files from one file server
to another, and there will be a lot of what you guys call aliases
that will need changing. They are all Absolute to the old servers
name.
If someone could show me how to do this, I would be in your debt :)
I've been trying to get some sense out of GetAliasInfo and
UpdateAlises from the include Mac::Files, but have had no luck.
GetAliasInfo keeps telling me that the variable I'm using is
not a type 'handle' note not type filehandle but just handle
#!/usr/local/bin/perl
use Mac::Files;
$thefile = "Fred:f1:f1-1:file";
$thealias = "Fred:f1:alias";
open (FH, $thealias);
@stuff = GetAliasInfo FH, 0;
close (FH);
This gives me a strange error
# Can't locate object method "GetAliasInfo" via package "IO::Handle".
File 'Fred:test2.pl'; Line 10
Changing the FH to something that is not a handle gives me
# alias is not of type Handle.
File 'Fred:test2.pl'; Line 10
Is "handle" different the a file handle ?
I'm totally lost.
Is there a better way to do this ? or am I just to thick ? If these
were symbolic links I would be done in the time it took to write this
letter :(
Thanks in advance,
-pete
Pete Lancashire
Columbia Sportswear Co.
[EMAIL PROTECTED]