Re: file sorting via applescript?
Re: file sorting via applescript?
- Subject: Re: file sorting via applescript?
- From: deivy petrescu <email@hidden>
- Date: Tue, 8 Jan 2008 16:53:15 -0500
On Jan 8, 2008, at 13:12, Patrik B. wrote:
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
Patrick;
Use AS when appropriate.
You can create a bunch of saved searches which will do exactly what
you want and are very convenient.
Saved searches = smart folders.
I have not looked into scripting saved searches, I create them as I
need them.
Deivy
Deivy
_______________________________________________
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