CMD EXAMPLE :
- python ./optimized.py C:\Users\wmain\Downloads\main D:\replica 10 C:\Users\wmain\Desktop\log
EDGE CASES :
- PERMISSIONS ON FILES/DIRS
- DIRECT MANIPULATION ON REPLICA FOLDER
CURRENT PROGRAM LIMITATIONS :
- BOTH MAIN AND REPLICA FOLDER DIRECTORIES MUST EXIST (CREATED BEFORE RUNNING SCRIPT).
- ALL PATHS GIVEN TO COMMAND LINE MUST BE ABSOLUTE PATHS (IS THIS PLATFORM DEPENDENT?).
- INTERVAL TIME NEEDS TO BE IN SECONDS AND A INTEGER.
- LETS SAY BETWEEN INTERVALS YOU STARTING COPYING A BIG DIR TO THE SOURCE THE SCRIPT WILL LOG DIR COPIED AND THEN ADD FILES AS THEY ARE BEING ADDED ASWELL(DOES NOT WAIT FOR COPY TO SOURCE TO BE FINISHED)