rename same file names in different directories - 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 same file names in different directories (/thread-38609.html) |
rename same file names in different directories - elnk - Nov-04-2022 I have a directory which has 10 other dirs with many files: - directory - dir1 - dir2 - dir3 - ... How can i rename duplicate files from all dirs? For ex. we have 2 files with name "file1.txt" in "dir1" and "dir2" and we must rename one. |