• 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: script to rename files - rather long, sorry
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script to rename files - rather long, sorry


  • Subject: Re: script to rename files - rather long, sorry
  • From: brian <email@hidden>
  • Date: Wed, 07 Aug 2002 01:14:34 -0400

a few other tidbits occur to me I'll send these stripped of the context of
the original post as it was rather lengthy,

Platform is OS 9.x. Plain vanilla AS preferred but extra additions ok.

all attempts to work with filtered references to accommodate less than
perfect tab delimited name lists have failed (those lists that rely only on
the already lined up datas in rows without benefit of an explicit column
detailing filenames e.g:

copy file whose name contains old_name_final of folder source_images_dir to
folder dest_image_dir -- trying to copy a named 123.jpg armed only with 123

or
copy file (old_name_final & ".jpg") of folder source_images_dir to folder
dest_image_dir -- trying to copy a named 123.jpg armed only with 123

I'm sorry to say I didn't document exactly why these failed instead I
abandoned these approaches and moved on.

> From: brian <email@hidden>
> Date: Wed, 07 Aug 2002 00:42:55 -0400
> To: <email@hidden>
> Subject: script to rename files - rather long, sorry
>
> A colleague of mine has presented me with a problem where I believe
> Applescript can flex its muscles and save the day.
>
> the problem is this:
> He spends hours weekly renaming image files from whatever their old name was
> to a new name. The old name is typically a vendor part number, or some other
> esoteric piece of data that has meaning to the original creator. The new name
> has meaning to my organization. for instance file 'abc.jpg' needs to be
> renamed 'p123456.jpg'.


<snip>

thanks again.
replies gratefully received to email@hidden or email@hidden --
or both.
brian
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >script to rename files - rather long, sorry (From: brian <email@hidden>)

  • Prev by Date: putting a partition away in OSX
  • Next by Date: Re: putting a partition away in OSX
  • Previous by thread: script to rename files - rather long, sorry
  • Next by thread: putting a partition away in OSX
  • Index(es):
    • Date
    • Thread