What if you were to run a DNR before deployment which removes all of the files beforehand?
If the deployment fails then script should handle to rollback the deleted files. Insted you can touch the files using touch command in unix to change the timestamp that will solve the issue. If the files are in the STAGING then you might not able to touch the files as they are READONLY. Are you using filelist or comparision deployment to deploy the files to target.
How do I force the source to overwrite the destination regardless of age or any other factor? ThanksPete