Description Usage Arguments Value Author(s) Examples
For example, a file name may have spaces, and you can replace them with "_".
1 | renamefiles(dir, pattern, replacement)
|
dir |
Path to directory for which you want to change the file names. |
pattern |
Pattern in file name to replace. |
replacement |
Text to replace pattern with. |
Prints "Operation complete" to console when done; look at files in directory 'dir' for changes.
Scott Chamberlain myrmecocystus@gmail.com
1 2 3 4 | ## Not run:
renamefiles("~/test", " ", "_")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.