recursively search folders for files and compare
$10-30 USD
Płatność przy odbiorze
I need a quick python script that looks through a folder structure and compares folders and outputs the differences
please comment the code so i can learn from this better.. my use of [login to view URL] and [login to view URL] is poor :-(
this is how the structure looks (eg only) :
c:\Layer Files\
c:\Layer Files\Transport\
c:\Layer Files\Transport\[login to view URL]
c:\Layer Files\Transport\[login to view URL]
c:\Layer Files\Transport\[login to view URL]
c:\Layer Files\Transport\BUS\
c:\Layer Files\Transport\10.2 Dev\[login to view URL]
c:\Layer Files\Transport\10.2 Dev\[login to view URL]
So recursively compare the Folder contents of "Transport" folder with the child folder "10.2 Dev " below it
Output a txt file of full .lyr file name and path) of .lyr files that exist in the "Transport" folder but not the child "DEV 10.2" folder that sits below it. Also a count of .lyr files in parent and in child folder "10.2 Dev"
please see attached for more info.
eg if you look in Layer Files\Catchments and Hydrology you will find "Comprehensive [login to view URL]" but if you look in Layer Files\Catchments and Hydrology\10.2 DEV its missing. so output this file name.
Thanks Steve
Numer ID Projektu: #5296530
O projekcie
11 freelancerów złożyło ofertę za $45 w tym projekcie
hello i am very well comfortable and experienced with os module , i can do this task in no time . and also provide you commented script . thank you
Hello mate! While I do not really know whether you already have the working code and simply wish to see others write the same so that you may learn from it OR you do not have the working code... both is fine I guess. Więcej
I've got 5 years of python experience and written some similar tools before. Let me know if you've got additional requirements for creating some stats about the layer-files or folder-structure. I'm an expert in statist Więcej
Hello, Having extensive Python experience I can deliver this project very fast. If needed I can provide you an executable file so you don\'t have to install python on the machine.