Re: Rename nested folders
Re: Rename nested folders
- Subject: Re: Rename nested folders
- From: Ed Stockly <email@hidden>
- Date: Thu, 22 May 2008 14:09:41 -0700
Me>>>It sounds like they are simply folders with forward slashes
in their names.
Mark>>Except there's nothing "simple" about that, really. See, I
don't know
of any file system outside of classic Mac OS HFS that allows slashes
in filenames.
Hmmm, I'm on OS X 10.4.1.1 and I can use slashes in file names.
Mark>>Not UNIX, not Windows, not Amiga, not VMS . . . I
mean, a ZIP file is just that: a file; as long as you honor the format
spec you can write arbitrary bytes to it to construct whatever sort
of filename you want. But normally such an archive is created out of
actual files that already exist in a file system somewhere, so I had
just blithely assumed that the filenames themselves wouldn't really
have slashes.
My guess is that the folders are being created with the forward
slashes on OS X and Mark is unzipping them using the shell or on a
unix system and that process is converting the forward slashes to
colons, or, possibly returning posix paths, which also converts
forward slashes to colons.
The whole point of this thread, I'm guessing, is to replace the
problematic forward slashes with hyphens, which are kosher on all the
operating systems that Mark mentioned.
ES
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden