file sorting via applescript?
file sorting via applescript?
- Subject: file sorting via applescript?
- From: "Patrik B." <email@hidden>
- Date: Tue, 8 Jan 2008 10:12:37 -0800
Hi,
I have bunch of folders that contain images for each language sorted by type
of item:
I.e.
Folder 1 "Book One"
-------------------
JAP-Book One.psd -- files in the folder
DAN-Book One.psd
HEB-Book One.psd
GER-Book One.psd
etc.
Now I want to make copy (not move) these but have them all sorted by language
(3 letter prefix followed by a hyphen.)
So that I then have a folder structure like this
JAP -- folder
-------------
JAP-Book.psd
JAP-Binder.psd
JAP-Binder 2.psd
JAP-Box.psd
DAN -- folder
-------------
DAN-Book.psd
etc.
I started writing a finder script but was wondering if there is already a
simple sort/duplicate library or even shell script that I could use.
Per what I understand I will have to have 2 lists and sort them toghether
(Files, Filenames) - how do I do this part?
Then based on my sorting of the filenames I need to copy the respective files
to the new folder via finder - that seems rather easy.
Best,Patrik
_______________________________________________
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