Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 16, 2009, 09:26 PM   #1
imthekuni
macrumors member
 
Join Date: Jun 2009
Applescript: Automatically Move File Type

Hi, I was wondering if anyone knew how to automatically move a file type to a sub-folder once it is downloaded? I want all mp3 files to move to a sub-folder called Music once it is downloaded. Thanks!
__________________
13" Blackbook 2.16GHz, 4GB Ram, 160GB HD...in limbo?
imthekuni is offline   0 Reply With Quote
Old Jun 16, 2009, 10:01 PM   #2
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
See this thread, which makes use of folder actions. Here's an article on it as well.
angelwatt is offline   0 Reply With Quote
Old Jun 17, 2009, 02:35 AM   #3
imthekuni
Thread Starter
macrumors member
 
Join Date: Jun 2009
thanks! just what i needed
__________________
13" Blackbook 2.16GHz, 4GB Ram, 160GB HD...in limbo?
imthekuni is offline   0 Reply With Quote
Old Dec 4, 2009, 02:05 PM   #4
mx7
macrumors newbie
 
Join Date: May 2009
Did you get the script to work?
I'm trying to write something similar that moves the all the torrent files in the Download folder to the Trash.
Any help would be appreciated.
Thanks
mx7 is offline   0 Reply With Quote
Old Feb 11, 2011, 03:33 PM   #5
hanopsun
macrumors newbie
 
Join Date: Feb 2011
Hello Guys,
i am not familar with scripting and i have an issue to get this AS running to the end of the script in case that only one file i am searching for is missing.
I know why, but i cant figure it out!I tried also if i could use the nohup option but this was not the solution here too.
Please help me out ;-) Thank you


my script:
try
do shell script "mv /Users/user_xy/Downloads/*.pdf /Users/user_xy/Downloads/PDF/"
do shell script "mv /Users/user_xy/Downloads/*.dmg /Users/user_xy/Downloads/install4mac/"
do shell script "mv /Users/user_xy/Downloads/*.pkg /Users/user_xy/Downloads/install4mac/"
do shell script "mv /Users/user_xy/Downloads/*.app /Users/user_xy/Downloads/install4mac/"
do shell script "mv /Users/user_xy/Downloads/*.tbz /Users/user_xy/Downloads/Archiv/"
end try
hanopsun is offline   0 Reply With Quote
Old Oct 14, 2011, 02:27 PM   #6
nohiding
macrumors newbie
 
Join Date: Oct 2011
Very new MAC user

Hi, this is my very first post. I wondered if anyone could explain me how this works? And if there is an easy way of learning how to do it.

Thanks for your patience.

Best regards

----------

Dear angelwatt, it seems like your article link does not work anymore. Maybe due to that it was removed. Can you tell me where to find a similar article?

br

Quote:
Originally Posted by angelwatt View Post
See this thread, which makes use of folder actions. Here's an article on it as well.
nohiding is offline   0 Reply With Quote
Old Oct 14, 2011, 06:20 PM   #7
nohiding
macrumors newbie
 
Join Date: Oct 2011
MacBook Pro 13" DK-2011

Before nobody begins to write me a novel.... Im gonna tell ya, I searched a little bit my self. Now Im programming, and 10 times more happy with my mac.

Worth All the money!
nohiding is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Automatically Move/Delete Some Files MBP123 OS X Mavericks (10.9) 4 Jan 14, 2014 08:43 PM
Transfer cassette to digital file... best file type? FogCityMac Mac Applications and Mac App Store 2 Apr 20, 2013 08:56 AM
Applescript to make terminal close automatically? Ri-dog Mac Programming 1 Jan 18, 2013 12:53 PM
Does Siri automatically type commas for you? DBZmusicboy01 iOS 6 7 Sep 23, 2012 09:23 AM
Date of file creation/modification and file type chaseychasem OS X 0 Sep 10, 2012 12:00 AM

Forum Jump

All times are GMT -5. The time now is 03:14 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC