New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Applescript for finding and moving several files?


Post Reply New Thread Subscribe

 
Thread Tools
Feee99

 
Member Since: Oct 13, 2011
Posts: 15
Feee99 is on a distinguished road

Feee99 is offline
All over my Mac's hard drive I have several files that begin with a 5 digit number in many different folders, i.e. "13345_car030.mov" and "15688_sidewalk060.mov"

Is there a way I can use Applescript or Automator to find every file that begins with file name "XXXXX" (where "XXXXX" is one of several hundred 5-digit numbers in a list- which I already have available). Then I would need it to move all those files to a specified folder. I wouldn't want it to copy and paste, but rather move, since I'm really just trying to wipe them off my Mac eventually.

The list of 5-digit numbers is over a thousand, and it's in .txt format (one per line). I could easily convert that to another list/file type if that would make the applescript run better. The list looks something like this:

14452
12238
13345
15688
11920
etc.

Any thoughts from an Applescript-savy individual?
QUOTE Thanks

Post Reply New Thread Subscribe


« Screen Redraw Problem in OS X Lion use List Mode | 15mn to start up my macbook pro os X lion »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Moving Outlook .pst files to Mac Outlook in Office 2011 veehb OS X - Apps and Games 2 05-20-2011 05:15 PM
Moving all files from iMac to PC sartorius Switcher Hangout 5 02-21-2011 05:40 PM
Moving files from folder to folder marin Switcher Hangout 3 06-16-2010 09:44 PM
Moving Pop files to exchange files in entourage 2004 RickM Internet, Networking, and Wireless 0 11-10-2008 05:56 AM
Moving files in finder vs. copying Turtlehead OS X - Apps and Games 2 02-21-2006 01:13 PM

All times are GMT -4. The time now is 05:46 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?