Rename files. On OS X, the function can access the current front-most Finder window.
The file renaming is fast and, because you can use regular expressions, powerful.
The folder to search in. If set to "Finder" (and you are on OS X) it will use the current front-most Finder window.
If it is blank, a choose folder dialog will be thrown.
ignoreSuffix
Whether to ignore (don't search in) the suffix (filetype like .mpg) TRUE.
listPattern
A pre-filter for files
test
Boolean determining whether to change files on disk, or just report on what would have happened (Defaults to test = TRUE)
overwrite
Boolean determining if an existing file will be overwritten (Defaults to the safe FALSE)
# NOT RUN {# "Season 01" --> "S01" in current folder in MacOS Finderumx_rename_file("[Ss]eason +([0-9]+)", replaceStr="S\1", baseFolder = "Finder", test = TRUE)
# }