Restores original filenames by inverting an audit log produced by image_rename_ocr.
If files were renamed, they are moved back to their original names. If files were copied,
the copied instances are safely removed.
Arguments
- log
An
image_rename_ocrobject returned byimage_rename_ocr, or a character string specifying the path to a.pliman_rename_log_*.rdsfile. IfNULL(default), searches for the most recent log file indir.- dir
Character string. Path to search for audit log files when
log = NULL. Default is".".- verbose
Logical. Whether to show progress messages. Default is
TRUE.
Author
Tiago Olivoto tiagoolivoto@gmail.com
