!("파일이름")으로 제외 시켜줄 수 있음
rm -v !("filename") rm -v !("filename1"|"filename2") rm -i !(*.zip) rm -v !(*.zip|*.odt)
출처 https://www.tecmint.com/delete-all-files-in-directory-except-one-few-file-extensions/