a script that can batch rename files in a directory using a sequential naming convention like img-01.jpg, img-02.jpg, etc. The script leverages the os module to handle the filesystem operations.
- Modify the directory variable to point to the folder containing your images.
- Run the script using:
python3 imgRename.py