阅读背景:

Linux:删除不包含指定所有单词的文件

来源:互联网 

Inside a directory, how can I delete files that lack any of the words specified, so that only files that contain ALL the words are left? I tried to write a simple bash shell script using grep and rm commands, but I got lost. I am totally new to Linux, any help would be appreciatedInside a directory, how can I delete files that




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: