I am try to write a script that will rename Macintosh files to windows file
name format. I do not have access to a Macintosh computer. Can MacPerl,
Mac::Files, and Mac::MoreFiles run on a FreeBSD system?

If it's just a matter of naming, you don't need Mac::Files and the like.

But I would guess what you want to do is actually use the file type info that would be available in the Mac HFS file system to determine the file extensions? There used to be packages available for that sort of thing, but I'm not sure if you can still find them. They never worked perfectly, as I recall. But it wouldn't be perl, it would be *nix. The utilities for installing netBSD or openBSD on the old Macs came with some utilities for moving only one fork into a BSD partition, but those are not scriptable by any means.

Hard to say what to suggest without more information. Old Macs with built-in ethernet and scsi are often really cheap on ebay, for instance. Likely to be easier to run the MacBSD on a Mac and have it ship things up the wire or save things onto a MS-DOS SCSI volume, or, if the files aren't big, onto an MS-DOS floppy.

--
Joel Rees
    even though much of what I do is not sensible
    it does make sense if you know why ...



Reply via email to