经过一番搜索,我想出了这个命令:
> find . -type f \( -name "*.exe" \) | egrep -v
> 'games_1|rei|games|tor|jogos|mods|text' > 1
我想要做的是查找扩展名为 .exe 的文件,但包含任何这些字符串的路径除外,然后将结果打印到名为“1”的文件中,我将其写入可执行文件。
但是,在终端中执行时,出现以下错误并且没有执行任何操作:
find: ‘./NUNO-PC/Disco_2TB_120323/Downloads_070321/My Web Sites/wdsdeewre/2.bp.blogspot.com’: Input/output error
find: ‘./NUNO-PC/Disco_2TB_120323/Downloads_070321/My Web Sites/wdsdeewre/segredoh.blogspot.com/feeds’: Input/output error
find: ‘./NUNO-PC/Disco_2TB_120323/Downloads_070321/My Web Sites/wdsdeewre/4.bp.blogspot.com’: Input/output error
find: ‘./NUNO-PC/Disco_2TB_120323/Downloads_070321/My Web Sites/wdsdeewre/3.bp.blogspot.com/-ux8HFQj0iuE/WQ9ywGiPXOI’: Input/output error
grep: write error: Input/output error
./encontrarsoft: error reading input file: Invalid argument
我缺少什么?