I have thousands of writings in plain text format moved to a single directory.
In the titles, some have spaces, some start with -, some have single/double quotes, & basically every other valid Windows & Linux filename character is in the titles.
The content text contains Windows & Linux line endings(right - that's what they're called?).
In Linux/Bash, how do I concatenate all these files ((half are extension-less, half are .txt's)) into one file, sorted by modification date, with filename & file date neatly printed before each file's content?
If you could, please tell me how to do the same thing in a nested file structure, too, this time with the file paths printed for each file, besides filename & file modification date.
I would appreciate this greatly, this is for years of my very own writing, & I've been searching & struggling for a few hours now. I'm a writer not a programmer =)
Thanks for considering.