I changed my wordpress theme. The older one created so much images on server. My new theme doesnt need them, so I want to remove all. How can I do that?
For example:
Default image: 12_angry_men_lone_holdout.jpg
I want to delete:
12_angry_men_lone_holdout-290x166.jpg
12_angry_men_lone_holdout-700x300.jpg
12_angry_men_lone_holdout-50x50.jpg
Using Digitalocean, Ubuntu 13.10.
man rm
to see the manual page of the rm command.