Here is a quick tip on how to remove a list of files. Let’s say you have the list of files inside a file called files_to_remove. Usually I would do something like this:
ls -al $LIST
just to check what is in the list and if it looks good.
rm -vf $LIST