How do I change file names to lowercase in batches?Letters are changed to lowercase in batches

Mondo Technology Updated on 2024-01-29

How do I change file names to lowercase in batches?Everyone knows that the file name can contain Chinese, English letters or some other symbols, we often encounter file names containing uppercase letters, we all know that uppercase English is very difficult to read, so many when the file name encounters uppercase letters, everyone will modify it to lowercase, if the number of files is not much, we will not spend much time to modify one by one, but the problem if the number of files is huge, one by one modification becomes unrealistic, then we need to find a way, find a more intelligent solution, after all, it is too cost-effective to waste time on this boring thing。

In fact, there are still some solutions to modify the file name letters to lowercase in batches on the Internet, and two methods were found after searching, one is to operate through the file batch renaming software, this method is characterized by simple operation, which is very suitable for computer whites to operate. The other method is much more difficult because it requires the use of commands, which are not understood by the average person. Without further ado, please continue to read the detailed operation steps, hoping to help those in need.

Method 1: Batch modification with the help of "Uber File Batch Renaming" software

Step 1, if you haven't installed the software "Batch Rename of Superior Files" on your computer, please install it in advance, then open it for use, and click the [File Duplicate Naming] function to enter the inner page operation.

Step 2: On the interface of the inner page, click the [Add File] button in the upper left corner to add the file whose name needs to be modified to lowercase to the software, or you can directly drag the file into the designated location of the software with the mouse to add it.

Step 3: Add orders on the left side, and select Replace on the right side of the naming methodThen select "All Lowercase" on the right side of the case conversion below. At this time, in the new file name column on the right, you can see that all the letters in the file name have become lowercase.

Step 4, at this time, click the [Start Renaming] red button in the upper right corner to start the software, and when the software pops up the prompt of "Rename Successful", the name of the certificate file has been modified, and the process is still very fast, usually only takes more than ten seconds.

Step 5, through the following change diagram, you can clearly see that the uppercase letters in all file names have been changed to lowercase, and the batch modification is very fast.

Method 2: Run commands to modify the data in batches

From the command line, you can use batch scripts or shell scripts to batch change the letters in file names to lowercase. Here's a simple example of how to achieve this in Windows PowerShell.

Go to the directory that contains the file you want to rename.

cd "c:\your\directory\path"

Retrieves all files in the current directory.

files = get-childitem

Go through each file and change the file name to lowercase.

foreach ($file in $files) {

newname = $file.name.tolower()

rename-item -path $file.fullname -newname $newname

This section first goes to the specified directory, and then gets all the files in that directory. Next, iterate through each file and use the built-in case conversion function tolower() to change the letters in the file name to lowercase. Finally, use the rename-item command to modify the file name. Note that before performing such an operation, you should make sure that you have backed up your important files to prevent unnecessary data loss.

That's all there is to know about "How do I change file names to lowercase in bulk?"."The whole question is introduced, do you feel quite simple after reading it?In fact, I prefer the first method, because with the help of software tools, everything is easy and visual, which greatly reduces the difficulty of everyone's work. Modifying file names in batches is actually an operation skill that contains a lot of dry goods, I hope these methods can help everyone, and those who have learned it also remember to like and support it.

Related Pages

    How does Zabbix add switches in bulk?

    Zabbix is an open source network monitoring system that can monitor the status,performance,and traffic of switches through the SNMP protocol.If you ha...

    How can I easily convert paper documents into electronic documents?

    In our day to day work,we often need to convert paper documents into electronic versions for easy storage and transmission.Help provides a powerful fu...

    How to write quickly and well

    Writing is the foundation of learning Xi and an essential skill for our daily work and Xi.However,many people will face problems such as slow writing ...

    How to write quickly and well

    If you want to write quickly and well,it is recommended to practice the following Xi .Practice Xi basic strokes Basic strokes are the foundation of wr...

    How to register Wenxin Yiyan

    Artificial intelligenceArtificial intelligence AI is the study of how computers can think,perceive,and make decisions like humans.With the continuous ...