Hi All
Was wondering if you could help.
Need to write a little ksh script that will loop through files in a directory and rename all the files or directories that contain the letter bbs in them. The script should rename these 3 letters to aaa.
For example if I have the following files in the directory:
testbbskka.txt
hello
echokkbbs.txt
it should rename only the 1st and last files by replacing bbs to aaa
Thanks a lot!
Was wondering if you could help.
Need to write a little ksh script that will loop through files in a directory and rename all the files or directories that contain the letter bbs in them. The script should rename these 3 letters to aaa.
For example if I have the following files in the directory:
testbbskka.txt
hello
echokkbbs.txt
it should rename only the 1st and last files by replacing bbs to aaa
Thanks a lot!