Sign in to follow this  
Followers 0
MaCgyver

Folder Compare...?check For File?

4 posts in this topic

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.

Share this post


Link to post
Share on other sites



Are you planning on including subdirectories?

Share this post


Link to post
Share on other sites

Are you planning on including subdirectories?

No. There will be no subfolders.

thanks

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

maybe

$dir1 = DirGetSize($folder1)

$dir2 = DirGetSize($folder2

if $dir1 <> $dir2 then DirCopy( $location1, $location2)

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0