From: macnerd <ma...@re...> - 2002-03-11 22:58:52
|
Thanks. I am forced to be in the Classic world because sometimes I need to test scripts under Windows. VPC is too sloooow under Mac OS X, and a tad bit more smooth under Classic. :-\ - Joaquin PS - Another annoying thing I found is that you cannot take screen shots of DVD movies under Mac OS X, but you can under Classic. Hmm... -----Original Message----- From: tcl...@li... [mailto:tcl...@li...]On Behalf Of Jim Ingham Sent: Monday, March 11, 2002 10:53 AM To: ma...@do...; tc...@li... Subject: Re: [MACTCL] How-to Changing Type/Creator? Note that type & creator bits are metadata stored with the file, so you won't be able to do this on a read-only CD... There are commands to modify creator & filetype in Classic MacTk, but I haven't ported them over to Aqua yet. Probably not too hard, but I haven't needed it yet, so I haven't ported it. But in general, the non-GUI parts of MacTcl is just straightforward Unix. For this sort of simple thing, find is easy enough... For example, one easy way to do this is: find /Volumes/StartPoint -name \*.gif | xargs /Developer/Tools/SetFile -t 'xxxx' -c 'xxxx' SetFile comes on the DeveloperTool CD. Jim > > Hello. > > I have a major annoyance in that I have a CD of HTMLs and GIFs, which have > generic TYPE/CREATORS. > I would like to change this to TYPE/CREATOR of my choosing, so I want to > create a tool that will walk > through all of the directories. > > I'm so new to the Mac scripting, so I was wondering if someone could tell me > how can I change the > type/creator and walk through the folders. Do the folders look like UNIX > directories in MacTCL? > Are there symbolic . and ..? > > thanx, > Joaquin > > _______________________________________________ > Tcl-mac mailing list > Tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac > -- ++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++= Jim Ingham ji...@ap... Developer Tools - gdb _______________________________________________ Tcl-mac mailing list Tc...@li... https://lists.sourceforge.net/lists/listinfo/tcl-mac |