So I'm new to scripting and I've been put in a position to convert a bunch of files with specific extensions in a folder and all its subfolders to uppercase including their extension. I figure so far I could do something like this:
...
...
and then input $line into another bash script that would capitalize the filenames that it found and outputted to txtlist. I've been trying various combinations but so far had not had much luck. Could someone give me a hand?
...though why you'd want to, I have no idea -- UNIX file names allow mixed cases and are case sensitive, meaning the actual name of the file is irretrievably lost by uppercasing it.
Hi, Thanks for that quick response, well the idea here is the application were using to read these files will only read them in uppercase thanks to the vendor. I tried your find command, but the problem there is that it would capitalize the entire path and not just the filename. I hope this makes sense!