• 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
Applescript Help...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Applescript Help...


  • Subject: Applescript Help...
  • From: Don Wieland <email@hidden>
  • Date: Thu, 19 Jul 2007 09:24:35 -0700

Sorry folks, I hit some combination of keys that sent my INCOMPLETE email
;-(

Hey gang,

I need a script to append a parent folder name to the files that a re
contained in it and copied to a SINGLE target folder.

For example, let's say we have these files:

Source/0001/Image1.jpg
Source/0001/Image2.jpg
Source/0001/Image3.jpg
Source/0001/Image4.jpg
Source/0002/Image1.jpg
Source/0002/Image2.jpg
Source/0002/Image3.jpg
Source/0002/Image4.jpg
Source/0003/Image1.jpg
Source/0003/Image2.jpg
Source/0003/Image3.jpg
Source/0003/Image4.jpg

They we be renames and moved to a FOLDER called TARGET:

Target/0001_Image1.jpg
Target/0001_Image2.jpg
Target/0001_Image3.jpg
Target/0001_Image4.jpg
Target/0002_Image1.jpg
Target/0002_Image2.jpg
Target/0002_Image3.jpg
Target/0002_Image4.jpg
Target/0003_Image1.jpg
Target/0003_Image2.jpg
Target/0003_Image3.jpg
Target/0003_Image4.jpg

That's the result I need.

Any help would be appreciated ;-)

Don Wieland
DW DATA CONCEPTS
~~~~~~~~~~~~~~~~~~~~~~~~~

Direct Line - (714) 389-4026
Fax - (714) 389-4027
email@hidden
http://www.dwdataconcepts.com

Integrated data solutions to fit your business needs.

APPOINTMENT 1.0v7 - Add powerful scheduling to your database system.

http://www.appointment10.com/

 _______________________________________________
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: Applescript Help...
      • From: Bill Briggs <email@hidden>
    • Re: Applescript Help...
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: Applescript Help...
  • Next by Date: RE: UI Scripting of Acrobat Pro
  • Previous by thread: Applescript Help...
  • Next by thread: Re: Applescript Help...
  • Index(es):
    • Date
    • Thread