Welcome to WebmasterWorld Guest from 34.204.191.31

Forum Moderators: travelin cat

Message Too Old, No Replies

Automatic folders

update contents of remote folder

     
7:25 pm on Feb 17, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 13, 2004
posts:504
votes: 0


Is there a way to automatically update the contents of a remote folder (images folder on windows server) by adding images to my local images folder?

I've been copying them over manually, wondering if I can cut a step out of the process...

7:24 pm on Feb 21, 2006 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member

joined:Aug 1, 2003
posts:815
votes: 0


Hello, and welcome to Webmasterworld!

What you describe sounds like a great use for Automator, if you have Mac OX X 10.4 (Tiger).

I'm a newbie at on Automator, but this seems to work.

Open Automator and create a Workflow with the following steps:
1. Get Specific Finder Items (specify your source folder)
2. Copy Finder items (specify your destination folder)
(You may need to precede that with steps to connect to your Windows server, if you don't always have that mounted.)

Then save the workflow as a folder action and select the source folder.

Finally, right click the source folder and select "Enable Folder Action."

11:05 pm on Feb 21, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 13, 2004
posts:504
votes: 0


I'm looking into this-how do you save as a folder action?
11:47 pm on Feb 21, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 13, 2004
posts:504
votes: 0


Nevermind-I found it. But, It's copying the entire folder over, as well as overwriting the image-weird.
2:42 pm on Feb 22, 2006 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member

joined:Aug 1, 2003
posts:815
votes: 0


copying the entire folder over

Looks like we need to add the step "Get Folder Contents" to get just the files inside the folder.

Open Automator and create a Workflow with the following steps:
1. Get Specific Finder Items (specify your source folder)
2. Get Folder Contents (Click "Repeat for each subfolder" if you drop folders in there to copy over.)
3. Copy Finder items (specify your destination folder)
(You may need to precede that with steps to connect to your Windows server, if you don't always have that mounted.)

11:57 pm on Feb 27, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:Apr 13, 2004
posts:504
votes: 0


Thanks Timster-it's working perfectly now. Yet another handy tool in X that I can now use.