Use the new zapFile() and zapDir() from zap.c. Added option -e to erase target files not in the source. Bug fix: The force option did corrupt the mode flag. Copy empty directories if the copyempty flag is set. Bug fix: Avoid a crash in update_link() on invalid links. Prefix all error messages with the program name. Bug fix: mkdirp() worked, but returned an error, if the path contained a trailing [back]slash.
Use the new zapFile() and zapDir() from zap.c.
Added option -e to erase target files not in the source.
Bug fix: The force option did corrupt the mode flag.
Copy empty directories if the copyempty flag is set.
Bug fix: Avoid a crash in update_link() on invalid links.
Prefix all error messages with the program name.
Bug fix: mkdirp() worked, but returned an error, if the path contained a trailing [back]slash.

JFLarvoire/SysToolsLib,JFLarvoire/SysToolsLib,JFLarvoire/SysToolsLib,JFLarvoire/SysToolsLib