I have several .pdf and .tex-files in a certain folder "ABC".
They all are named by the scheme
C01S02_Word.pdf C03S02SS01_Description_random_words.pdf C04S01SS02_More_words.pdf and so forth
C in this scheme stands for chapter, S for section and SS for subsection. So in the folder ABC I also have the folder for each chapter, simply named C01, C02 and so forth. In each chapter folder I have one folder named Pictures.
Could someone please write a batch script so I could move all .tex and .pdf files in their respective Pictures-folder,
C04S01SS02_More_words.pdf would get moved to
C01/Pictures and so forth?
Note: of course I googled this already but so far I was unable to convert all the many bits into a working script. I do not want to do T&E runs anymore. :/