Back to Blog
Mac os x shell script rename files7/1/2023 ![]() The renamed file will move to its proper order and you will continue on the same spot on the list. The secret here is this: as soon as you press enter to confirm the name change, press the down arrow key to change the focus to the next file, in this case, ray2.jpg. ![]() ![]() This because, as the renamed file now begins with A, you have find showing the files in alphabetical order and you have the renamed file selected, Finder will move the cursor to where the file belongs in the alphabetical list and you will have to go down the list again, and find ray2 and ra圓. As soon as you type enter to confirm the new name, you lose the other files from your sight. You put the cursor over the first file, type enter and start renaming the file. For example: ray01.jpg, ray02.jpg and ray03.jpg and you want to rename them to array01.jpg, array02.jpg and array03.jpg. Lets say you have 3 files to rename and all files are in sequence (alphabetical order). Good evening Im new at unix shell scripting and im planning to script a shell that removes headers for about. Among these files, perhaps down in those beginning with an R, you see some files you want to rename. What this script is doing is to rename all. You have Finder open and you are seeing a long list of files. This is something that always annoyed me.
0 Comments
Read More
Leave a Reply. |