Search of files by means of keywords with a formatted output
I'd like to find any kind of file by means of keywords and a formatted output, so I'm trying to use the command "awk
, but I receive this error message:
% 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)