|Feb 4, 2013, 03:50 PM||#1|
Automator / Applescript > copy to folder
I know a little bit about Automator and have never used Applescript. I'm trying to set something up which will automatically work when I try to do the following:
I've just started using google drive to store and access a duplicate of a certain folder on my computer (which I add content to almost everyday). What I am trying to make is some sort of script that once I add a file to this folder on my computer (which I called 'Everything') I want it to also copy the file to my google drive sub folder with is called 'Everything - copy'. Can anyone provide some assistance on how to do this? I found something sort of related, but I don't want to have to actually run anything when I add the file... I want to somehow set it up so that whenever a file is dropped into my 'Everything' folder, the file is AUTOMATICALLY added to the google drive folder as well. Would this mean that the script would have to be active all the time? (I'm not really sure how this would work - is it possible to write this rule and have it set permanently, and not have to right click on a file and pick an automator command or something?)
I realize it's a much easier option to just move all of my files to the google drive folder, rather then having two places where they are stored, but I would prefer to have it done this way; so I'm not really looking for any suggestions on alternatives for my file structure, I'm just looking for some help specifically with this automator / applescript command.
Here's the article which is sort of related:
Thanks for the help!
Oh, and I just realized that I would also like to do this the other way as well. If I'm at my work computer and I find an image I like, I will upload to the the google drive 'Everything - copy' folder so that when I get home I could then log onto my google drive folder and copy it into my 'Everything' folder on my computer.
This seems like it might be a slightly more impossible task; does anyone have any ideas for this one as well?
16GB iPhone 3G (Black)
(Penryn) MacBook Pro
80GB (5.5G) Black iPod Video
1GB (2G) iPod Shuffle
|Feb 4, 2013, 04:05 PM||#2|
An Automator "Folder action" should be able to do this. The article you linked to is for a Service, which has a quite different triggering mechanism.
Copying or otherwise processing items dropped into certain folders is exactly what Folder Actions is intended for.
For examples, tutorials, etc., try google search terms: os x folder actions
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Copy files to folder using Applescript||Kitkat88||Mac Programming||7||Jun 23, 2014 08:45 AM|
|AppleScript to copy Notes to designated folder||EmpyreanUK||Mac Programming||2||Dec 6, 2013 05:43 AM|
|Automator and/or AppleScript Help||jbsmithmac||Mac Programming||6||May 5, 2013 05:02 PM|
|Automator and/or Applescript Help||downingp||Mac Programming||2||Oct 24, 2012 08:35 PM|
|looking for a simple code in automator or applescript for copy and paste||duran118||Mac Applications and Mac App Store||0||Jul 25, 2012 02:24 AM|
All times are GMT -5. The time now is 02:46 PM.