Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

EventGhost Folder Automation

If you have a question or need help, this is the place to be.
Post Reply
kicks66
Posts: 3
Joined: Fri Sep 30, 2011 11:21 am

EventGhost Folder Automation

Post by kicks66 »

Im new to EventGhost, and am wondering if this is possible:

I want Eventghost to do 2 different actions.

If a folder is put in the 'watch' folder, I want it to get all the files inside the folder, and copy them to DirectoryA
If a file is put in the 'watch' folder, I want it to copy that file to DirectoryB.

Is this possible?
User avatar
zian
Site Admin
Posts: 569
Joined: Wed Jun 24, 2009 3:54 pm

Re: EventGhost Folder Automation

Post by zian »

I have done this with files using Directory Watcher along with a batch file that is executed and moves files when they are detected in that folder.
I did a quick search for "batch file to move folders" and it looks like that is possible too.

I'll post one of my batch files in a second when I get back to my PC.

Here is one of them.
\@ECHO OFF
move "M:\Video\Snapped\*.VPrj" "M:\Video\iPad Comskipped\VPrjS"

google search for...
"batch file to move folders"
http://gog.is/batch+file+to+move+folders
eventghost.net
Be there or be square.
kicks66
Posts: 3
Joined: Fri Sep 30, 2011 11:21 am

Re: EventGhost Folder Automation

Post by kicks66 »

Firstly, id like it to copy.

Also, id like to automatically watch the folder, and whatever is new only move that folder, not the whole thing
User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Re: EventGhost Folder Automation

Post by jinxdone »

I'd suggest using robocopy to make a mirror of the folder. Run it periodically to keep the target folder up to date. (or run it from EG with directorywatcher events etc.)
Post Reply