Google is not helping me and I can’t figure out the syntax.
for file in *_01.html
do
<I want to say if a file does NOT end in *_01.html OR *.pdf then delete it>
done
so in one directory, I’m trying to get it to loop through each file and if that file does NOT end in whatever_01.html OR whatever.pdf then delete it.
In bash: