• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Rename nested folders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rename nested folders


  • Subject: Re: Rename nested folders
  • From: "Mark J. Reed" <email@hidden>
  • Date: Thu, 22 May 2008 09:36:11 -0400

On Thu, May 22, 2008 at 9:02 AM, Stranathan, Dan
<email@hidden> wrote:
> I have attached a zip archive which mimics the folder archives I need to work with.

OK, the archive you attached has no slashes in any filenames.  It has
colons, which admittedly look like slashes in the Finder, but that's
not the same thing; colons won't cause any difficulties when extracted
on Windows.  Now, you said "mimics"; if you created this on your OS X
system, then what we see is exactly what would happen: the slashes
turn into colons, because slashes as displayed in Finder are really
stored as colons on disk.

I assume the archives are originally being created on an OS 9 (or,
well, pre-X) system?  That's the only system I can think of offhand
that allows slashes in filenames...

Regardless, if you  do have an archive with real slashes in the
filenames, I suspect that unzip, or at least ditto, would be smart
enough to turn those into colons when extracting on OS X, so then you
could re-zip and have a slash-free archive.

However, the names in your sample also have trailing spaces in the
filenames, which could cause no end of grief simply via confusion; for
instance, there's a "MANUSCRIPTS 2008:091066   " with three trailing
spaces, a "MANUSCRIPTS 2008:091363 " with only one, and a "MANUSCRIPTS
2008:091611        " with eight.


--
Mark J. Reed <email@hidden>
 _______________________________________________
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

  • Follow-Ups:
    • Re: Rename nested folders
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Rename nested folders (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Copy folder shell scripting
  • Next by Date: Re: Copy folder shell scripting
  • Previous by thread: Re: Rename nested folders
  • Next by thread: Re: Rename nested folders
  • Index(es):
    • Date
    • Thread