> > 1) A flag added that would include the entire path to the effected > file or folder instead of just the file
Folder being watch now put in global _folder_. Also see file.txt help on recommendation for avoiding global variables if doing multiple watches. > > 2) A flag that would cause the watch folder to not end, but just reset > itself. Trciky for me so just put a file.watchfolder in the script executed by your file.watchfolder. I would guess that this would also entail a way to stop > watching a folder - another flag perhaps? Added file.endwatchfolder(handle) > > What I'm trying to do is setup a simple mirror, where changes in a > directory are mirrored in another directory. In order to do that, > currently I need to re-execute the watchfolder command. Which I can > do, except if I want to mirror more than 1 directory, it gets a little > hard to figure which watchfolder to re-execute. Use the _folder_ or the arguments approach as per the help to restart on the passed folder. > > Thanks, > Paul Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
