Use `find` to locate files like this way: find . -name "* 2" -exec rm {} \; This command will search for files from where your are `.` with name `"* 2"` and delete every result `-exec rm {}`.