Using the rename command and Perl expression. In the terminal:
To rename all upper case file names with extension .JPG to lower case
Test first.
rename -n 'y/A-Z/a-z/' *.JPG
Execute and show the operation.
rename -v 'y/A-Z/a-z/' *.JPG
To remove all colon character out of of the file name:
rename -vn 's/[:]//g' *
To remove all non-alphanumeric characters:
rename -vn 's/[^A-Za-z0-9._]//g' *
For more inforation, type 'man rename'
Application Development. Business Solutions. Computers. Consulting. Cybersecurity. Information Technology. Software. Technology
Subscribe to:
Post Comments (Atom)
GPG Verify DupeGuru
https://dupeguru.voltaicideas.net/ https://github.com/arsenetar/dupeguru/releases/tag/4.3.1 $ gpg --verify dupeguru_macOS_Qt_4.3.1.zip.siggp...
-
These keyboard shortcuts are helpful. Some of them are not document in Visual Studio 2010 Express, for example: <Ctrl> F5 to run the ...
-
What is a view? A view can be thought of as either a virtual table or a stored query. The data accessible through a view is not stored in th...
-
https://dupeguru.voltaicideas.net/ https://github.com/arsenetar/dupeguru/releases/tag/4.3.1 $ gpg --verify dupeguru_macOS_Qt_4.3.1.zip.siggp...
No comments:
Post a Comment