Hi all,
I have been looking at various threads in relation to this and haven't been able to get the right result. The closest I have got was to turn all uppercase characters within a file to lowercase.
What I need is to change the filename of various files (the amount of which can change at any given bootup).
Example file listing within directory:
AAAAAAAAAAA.txt
BBBBBBBBBBB.txt
CCCCCCCCCCC.txt
DDDDDDDD.txt
EEEEEEEEEEEEEEEEE.txt
I have tried the following which changed the contents of the file.
cat AAAAAAAAAAA.txt | tr '[:upper:]' '[:lower:]'
I'm sure this can't be as difficult as I am making it.
Thanks
scfc1976.
I have been looking at various threads in relation to this and haven't been able to get the right result. The closest I have got was to turn all uppercase characters within a file to lowercase.
What I need is to change the filename of various files (the amount of which can change at any given bootup).
Example file listing within directory:
AAAAAAAAAAA.txt
BBBBBBBBBBB.txt
CCCCCCCCCCC.txt
DDDDDDDD.txt
EEEEEEEEEEEEEEEEE.txt
I have tried the following which changed the contents of the file.
cat AAAAAAAAAAA.txt | tr '[:upper:]' '[:lower:]'
I'm sure this can't be as difficult as I am making it.
Thanks
scfc1976.