Control Patch File Operation

-delete="filename with spaces"
-delete=pattern
-d=pattern

Obsolete files can be removed when applying patch files. Normally they will be kept, but those matching a filename or file pattern given to this option will be moved into the backup directory when applying the patch file. Note that the matching will be done when creating the patch file and not when the patch file is applied.

-D="filename with spaces"

This option can be used to force adding a removal instruction for a file to the patch file. The file needs not be present, but must not be absolute, but instead relative to the target.

-backup="Backup Directory with Space"
-backup=backupdirwithnospace
-b=backupdir

Specify the backup directory used to backup existing files when applying the patch file. This directory defaults to "Backup". Subdirectories are created as needed to preserve the file system structure, so copying the backup folder to the software should suffice to undo applying the patch file.

-nobackup
-backup=none
-backup=no

Not implemented yet, but planed for version 3.1. This once will allow you to tell DoPatch to remove the backup files after successfully applying the patch file. For now you need to use scripts to accomplish this task.

-time=now
-time=latest
-time=apply
-t=n
-t=l
-t=a

Select the time stamp handling for the patch file. Normally GenPatch will put the actual time stamp of each end state file into the patch to be set when applying the patch file. But you can choose to use the current time stamp when creating the patch file instead with "-time=now". With "-time=latest" you select all handled files to receive the time stamp of the oldest file handled. With "time=apply" you choose to have the patched file to have the date of the actual patch applying by the user and not a fixed one.