如何查找和删除.jpg目录树中的所有文件,但文件名中包含“sample”的文件除外?
.jpg
例如 :
a.zip -> keep it b.jpg -> delete it a-sample.jpg -> keep it b-Sample.jpg -> keep it
linux bash regex rm
bash ×1
linux ×1
regex ×1
rm ×1