Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 669 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 669 Bytes

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)