diff --git a/python/installer_crawler.py b/python/installer_crawler.py index 2f417a4..377c04d 100644 --- a/python/installer_crawler.py +++ b/python/installer_crawler.py @@ -2,4 +2,16 @@ # Copy all of the files from the W:\Installers folder to any local folder on the laptop # Build a manifest # Determine the difference between the current W:\Installers and the destination manifest -# RSYNC? \ No newline at end of file +# RSYNC? +# importing required packages +import os +from datetime import datetime + +tm = now.strftime("X%mX%dX%y-X%HX%MX%S").replace('X0','X').replace('X','') +# defining source and destination +# paths +src = 'W:/installers' +trg = 'C:/Users/jbranan/Downloads/installers' +logfile = f'C:/Users/jbranan/Desktop/RC_log_{tm}.log' + +os.system(f'Robocopy {src} {trg} /V /E /r:1 /w:15 /log+:{logfile} /XO /NP') \ No newline at end of file