0

フォーマットされた出力を使用したキーワードによるファイルの検索

キーワードと書式設定された出力を使用して任意の種類のファイルを検索したいので、コマンド " を使用しようとしていますが、次のawkエラー メッセージが表示されます。

% find . -type f -exec grep -if /home/peppespe/Documents/1265/keywords.txt  '{}' ';' -exec ls -laith '{}' ';' -exec md5sum '{}' | awk '{ print "md5 = " $1 }'  ';' -exec sha1sum '{}' | awk '{ print "sha1 = " $1 }' ';'
find: manca l'argomento per «-exec»
awk: linea progr.:1: fatale: non riesco ad aprire file `;' in lettura (File o directory non esistente)
awk: linea progr.:1: fatale: non riesco ad aprire file `;' in lettura (File o directory non esistente)
4

1 に答える 1