Python Forum
rename file - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: rename file (/thread-40005.html)



rename file - RolanRoll - May-18-2023

Hi help me please to do this exhausting action I must to rename each manifest files name in each folder (manifest.safe) to be recognized for image processing so I searched all manifest in my folder and then in search result rename them one by one.
I have Png format file that I have attached as you can see I must rename each manifest file name manually with its Folder name location like: manifest_20220520.safe instead of manifest.safe
Could you please help me to rename file name with adding 8 digit number(( the date) after (1sdv_)) is in the name of folder containing with python code