Smaller still I quite like:
rename 'y/A-Z/a-z/' *
On case insensitive filesystems such as OS X’s HFS+, you will want to add the -f
flag:
rename -f 'y/A-Z/a-z/' *
More Related Contents:
- Get the Perl rename utility instead of the built-in rename
- Is rename() without fsync() safe?
- Append date to filename in linux
- Linux: remove file extensions for multiple files
- Rename all files in a folder with a prefix in a single command
- Maximum number of threads per process in Linux?
- Expanding a bash array only gives the first element
- How to use local docker images with Minikube?
- How to remove ^[, and all of the escape sequences in a file using linux shell scripting
- How to find the last field using ‘cut’
- Spring Boot application as a Service
- How to show all shared libraries used by executables in Linux?
- How can I programmatically create a new cron job?
- Linux clock_gettime(CLOCK_MONOTONIC) strange non-monotonic behavior
- Make $JAVA_HOME easily changable in Ubuntu [closed]
- ‘find -exec’ a shell function in Linux
- How to determine if a process runs inside lxc/Docker?
- “No such file or directory” error when executing a binary
- Contiguous physical memory from userspace
- Externalizing Tomcat webapp config from .war file
- How to recursively download a folder via FTP on Linux [closed]
- Get current time in seconds since the Epoch on Linux, Bash
- Insert multiple lines into a file after specified pattern using shell script
- Converting jiffies to milli seconds
- Is there a way to increase BLE advertisement frequency in BlueZ?
- send mail from linux terminal in one line [closed]
- How to convert hex to ASCII characters in the Linux shell?
- How to check if a program is run in Bash on Ubuntu on Windows and not just plain Ubuntu?
- Can I tell Linux not to swap out a particular processes’ memory?
- What are the rules for valid identifiers (e.g. functions, vars, etc) in Bash?