The following lines were added (+) and removed (-):
There are many very good and useful examples in our old [[Advanced Shell Operations]]. done done These may fail on unsupported file systems such as FAT32 with an error such as: mv: 'IMAG0001.JPG' and 'imag0001.jpg' are the same file ./IMAG0004.JPG not renamed: ./imag0004.jpg already existsIn this case you will have to move when you change case and move back again. Here we will change an uppercase file extension to a lowercase one under FAT32 rename 's/\.JPG$/\.jpeg/' *.JPG rename 's/\.jpeg$/\.jpg/' *.jpeg There are plenty of other ways to accomplish such tasks. ===execute multiple BASH shell commands==={{:Execute Multiple BASH Shell Commands}} ===search for files===The two primary commands to accomplish this are #find#locate Learn how to use [[Find and Locate]] and view examples.