MaCgyver Posted March 16, 2006 Share Posted March 16, 2006 Is there a way I could have one folder mirror another folder? I would like to have the script continously checking to see if new files exist in one folder and if so copy to the other folder. Link to comment Share on other sites More sharing options...
greenmachine Posted March 16, 2006 Share Posted March 16, 2006 Are you planning on including subdirectories? Link to comment Share on other sites More sharing options...
MaCgyver Posted March 16, 2006 Author Share Posted March 16, 2006 Are you planning on including subdirectories?No. There will be no subfolders.thanks Link to comment Share on other sites More sharing options...
Valuater Posted March 16, 2006 Share Posted March 16, 2006 (edited) maybe $dir1 = DirGetSize($folder1) $dir2 = DirGetSize($folder2 if $dir1 <> $dir2 then DirCopy( $location1, $location2) 8) Edited March 16, 2006 by Valuater Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now