lundi 10 mai 2021

Segregate files with folder conditions

I want to segregate files in a way where a folder with words starting from X and length 3 alphabets and a copy file which contains the word B09 to a location with subdirectory name contains Xyz.

CURRENT SCENARIO

folder name: KLIOKK-XYZ OPLISAS 24-7-12

file name: 13193.B09.oahsgA, 8810.B14.kajshda

=======================================================

REQUIRED SCENARIO

folder name: XYZ

file name: Doesn't matter but a type of B09

in Python Please

Aucun commentaire:

Enregistrer un commentaire