Created
March 7, 2019 01:18
-
-
Save akanik/94ef12eb1c3dd1fba4e11f77409b8429 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#R | |
filepath <- 'path/to/folder' | |
file.rename(dir(filepath, full.names = TRUE), tolower(dir(filepath, full.names = TRUE))) | |
# If your working directory is set to the folder you don't need `full.names = TRUE` | |
# But it's best to not change your working directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment