I have text files listing a lot of files that are on my linux system that have been identified as needing to be deleted. Some of these files were created on Windows and contain '1. ' or '2. ' (i.e. with literal space after the period) etc. etc.
The rm command deletes them if I enter rm -f command with the file name in quotes. But entering this command 700,000 times in not going to happen.
I tried inputting the "list" files into the command but it skips the ones with the irregular name.
Is there anyway to put the delete commands into a script to perform it in an automatized way?