Hi I got 2 structures of dirs with files. Dir a and dir b. Now I want change names of files in this dirs. Like u see in path a/1 files got names from 1 to 3, in path b/1 files have name from 4 to 6. How to change name of files in dir b on pattern names of files from dir a? Number of files in dir a and dir b is the same, files are the same, but they have another sufiks.
âââ a
â  âââ 1
â  â  âââ file1
â  â  âââ file2
â  â  âââ file3
â  âââ 2
â  â  âââ file1
â  â  âââ file2
â  â  âââ file3
â  âââ 3
â  âââ file1
â  âââ file2
â  âââ file3
âââ b
âââ 1
â  âââ file4
â  âââ file5
â  âââ file6
âââ 2
â  âââ file4
â  âââ file5
â  âââ file6
âââ 3
âââ file4
âââ file5
âââ file6