Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Shell &引用;查找<;目录路径>-mindepth 1-mtime+;90-f类“;命令不';t选择";。“战争”;文件夹_Shell_Unix - Fatal编程技术网

Shell &引用;查找<;目录路径>-mindepth 1-mtime+;90-f类“;命令不';t选择";。“战争”;文件夹

Shell &引用;查找<;目录路径>-mindepth 1-mtime+;90-f类“;命令不';t选择";。“战争”;文件夹,shell,unix,Shell,Unix,“find-mindepth 1-mtime+90-typef”命令未选择.war文件 有人能帮我使用这个命令吗?我希望该命令还需要选择.war文件。看起来您想在*.war文件中搜索 find . -name \*.war -exec sh -c 'printf "\n\nFile: {}"; unzip -l {}' ";" | less +/your_search_string_here 谢谢@Joao Vitorino的回复。我希望命令也列出超过90天的*.war文件。我提到的命令提供了

“find-mindepth 1-mtime+90-typef”命令未选择.war文件


有人能帮我使用这个命令吗?我希望该命令还需要选择.war文件。

看起来您想在*.war文件中搜索

find . -name \*.war -exec sh -c 'printf "\n\nFile: {}"; unzip -l {}' ";" | less +/your_search_string_here

谢谢@Joao Vitorino的回复。我希望命令也列出超过90天的*.war文件。我提到的命令提供了所有文件,如“.properties、.log、.html、.jsp”等,。但不是*.war文件。因此,请帮助我使用一个命令,该命令将列出*.war文件以及所有其他文件。