compare and replace VM directories and files

Job ID: 30862729

Budget: $10 – $30 USD

write PHP codes to compare and replace VM directories and files of a slave VM, based on the master VM files:

Your task:
1. From the master GCE VM (mVM), connect to a slave VM (sVM) on GCE/Amazon/Azure with credentials required
a. Note: GCE VMs are not in the same project / accounts

2. Loop through a directory and its sub-directories & childs of the mVM
a. If the sVM's file size / changed date / character count NOT the same,
i. Rename the sVM file
ii. Copy the mVM's file
b. If the sVM does not have the file, copy it to sVM
c. Log the mVM& sVM file's info (size / date / content difference) for a & b
d. If the sVM has a file that does not exist as per mVM directory, flag it in the Log
e. Save the Log file on the mVM
f. Report to mVM that comparison done

3. Perform mVM tests on the following:
a. mVM GCE to GCE sVM
b. mVM GCE to Amazon sVM
c. mVM GCE to Azure sVM

Terms:
A. GCE environment will be provided
B. must provide project documentation on all steps taken
C. $30 IS THE MAX I WILL PAY.