import os

folder_path = os.getcwd()  # Get the current directory as the folder path

for filename in os.listdir(folder_path):
    if filename.endswith('.JPG'):
        new_filename = os.path.join(folder_path, filename.lower())
        os.rename(os.path.join(folder_path, filename), new_filename)
