Remove the last extension from a filename, if there is any: rename -x * ![]() (-c: convert file names to all upper case) (-f: rename even when a file with the destination name already exists)Ĭonvert file names to all upper case: rename -C -f * (-c: convert file names to all lower case) (-A: prepend the string argument you supply to every filename)Ĭonvert file names to all lower case: rename -c -f * Prepend the string argument you supply to every filename: rename -A ‘ toto’ * (-a: append the string argument you supply to every filename) Or use Cakebrew (The Mac App for Homebrew)Īppend the string argument you supply to every filename: rename -a ‘ toto’ * To install rename, we will use homebrew (a package manager for OSX. With homebrew we can install a lot of applications and libraries that would require manual compilation) Rename is a program that renames files according to modification rules specified on the command line. To rename multiple files, we will use rename. ![]() How can we upper case every file name ?. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |