rm !(.*)

// matches everything except files starting with a .