Skip to main content
2 of 5
added 5 characters in body
jherran
  • 13.4k
  • 11
  • 59
  • 75

Use find to locate files like this way:

find . -name "* 2" -exec rm -r "{}" \;

This command will search for files from where your are . with name "* 2" and delete every result -exec rm {}.

jherran
  • 13.4k
  • 11
  • 59
  • 75