I'm very much a novice at programming on the command line so please forgive me asking for very basic help.
I want to take a folder with very many subfolders, add the subfolders and file names to metadata, and then rename the files. So for example, the first file in the first folder would literally be named
F0000001, the next file
F0000002 and so on. All the file names are in the format of
[author] [year] [title]. From looking at other people's questions, these do seem doable but I don't trust myself to try to construct the command line code based on answers to other people for only components of what I want to do.
Any help someone could provide would be very much appreciated.
EDIT: To Answer Kagan's very questions, Naming method [author] [year] [title] means filenames like Vourvoulias 2012. Ink.
Potential ambiguities are a few files I named after an organization when I should have, at the very least, made it one word and using "et al" when there were multiple authors and "(ed)" or "(eds)" when it was an edited collection. I started my file naming conventions years ago without thinking through programming with it later on.
The vast, vast, vast majority of filenames are ".PDF" with a few ".EPUB" in there as well. I don't need the ".pdf" information as metadata.
re:directories- by the end of this process I'm hoping to have no subfolders left and just have one gigantic folder to plug into Mendeley. The subfolder names would just become tags attached to the files that were previously in those subfolders. So for example, the files in the folder "African Political Economy", would have the tag "African Political Economy", and so on.
Hope that clarifies everything.