Newcomer's first post, hope everyone supports.
Just entered the wonderful realm of batch processing operations, many things can't be realized only by my own level, so I come here to ask for help from everyone.
Specifically like this:
There are many files in a certain folder, and these files are all stored in different subdirectories
001_aa
001_bb
002
003
and so on.
At the same time, there is a txt file in this folder, the content is as follows
001, Name 1, Category 1
002, Name 2, Category 2
003, Name 3, Category 3
I now want to rename and re - store all files according to the content of this txt file.
For example, the file "001_aa" is renamed to "Name 1_aa" according to the requirements of txt, and a directory "Category 1" is established in the root directory, a directory "Name 1" is established under Category 1, and all files with 001_* are copied to the newly - created directory Name 1.
Don't know how to solve it, hope to get everyone's help, thank everyone!
Just entered the wonderful realm of batch processing operations, many things can't be realized only by my own level, so I come here to ask for help from everyone.
Specifically like this:
There are many files in a certain folder, and these files are all stored in different subdirectories
001_aa
001_bb
002
003
and so on.
At the same time, there is a txt file in this folder, the content is as follows
001, Name 1, Category 1
002, Name 2, Category 2
003, Name 3, Category 3
I now want to rename and re - store all files according to the content of this txt file.
For example, the file "001_aa" is renamed to "Name 1_aa" according to the requirements of txt, and a directory "Category 1" is established in the root directory, a directory "Name 1" is established under Category 1, and all files with 001_* are copied to the newly - created directory Name 1.
Don't know how to solve it, hope to get everyone's help, thank everyone!
