Mac Help Forums


Reply
Thread Tools Display Modes

Want Help with Automator Problem, I want to find files that end with "n"

 
New Member
Join Date: Jan 2010
Posts: 1
 
      15th January 2010
Let me start by saying that I am not a programmer.

Here is what I want to do: I have a folder full of files. The names look like this: R0135667.JPG. The files start with the above file name and increase sequentially by one. Typically I have between 700 and 8000 files in a folder. I want to extract all the files that end with 0 and 5 (or alternately 1 and 6) and put them in a new folder. I.E., I am trying to extract every fifth file. I was excited thinking I could solve this problem with Automator using Find Finder Items Action to find the files and a Copy Finder Items Action to copy them into a folder.

When I tried the the Find Finder Items Action I requested Automator to find all files that end with 0. Result: no files found - finder considers all my files to end with .jpg

So I changed it to find all files that end with 0.jpg Result: no files found. For some reason if the file names contain a zero elsewhere they are not found. So, since all of the file names start with zero they are all excluded. Likewise for all numbers that end with 3. For other numbers you only get a find if the number is not contained in the file name.

It seems like The Automator Find Finder Item action doesn't work very good. Any ideas that will help me accomplish my goal will be appreciated whether I use Automator or not. Thanks!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Find" Doesn't find Mac OS Updates on all volumes Nick Naym Mac 2 15th January 2009 09:59 PM
ODD PROBLEM: "Shift-S" Doesn't work for upper case "S" Mac Mini papercut@myway.com Mac 8 15th August 2007 11:17 PM
Problem using Tiger's "Find" to search for big folders RGB Misc 3 5th July 2005 03:16 AM
Q: find files where "kind is not image" John Seal Mac 1 7th June 2005 11:13 PM
Change "bzy " file type to open or trash "locked" files (sometimes) Mike K Mac 0 2nd August 2004 11:51 PM


All times are GMT +1. The time now is 07:00 AM.
Mac-Help.com is an independent website and is not affiliated with Apple Inc.


Welcome!
Welcome to the Mac Help Forums
 


Latest Threads
Powermac G4 "Quicksilver 2002" CPU upgrade
Boat (1 Minute Ago, 07:00 AM)

Yikes! Teacher needs help!
Mollyc4627 (10 Hours Ago, 08:57 PM)

Unable to log in to websites
AMonty20 (13 Hours Ago, 05:52 PM)

Add Different Speech Commands
bae_22 (14 Hours Ago, 04:40 PM)

Login (2 macs) passwords spontaniously changed?
Roger Vaught (15 Hours Ago, 03:31 PM)

 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51