How to convert file names from UPPERCASE to lowercase file names or vice versa using shell script?
How to convert file names from UPPERCASE to lowercase file names or vice versa using shell script?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
#!/bin/bash
str="Hi this is Bikash"
# Convert to uppercase
echo "${str^^}"
# Convert to lowercase
echo "${str,,}"
Output:
HI THIS IS BIKASH
hi this is bikash