Matthias Czapla wrote:
On Wed, Jul 14, 2004 at 10:09:18AM -0700, j smith wrote:
md5sum checks one file a time. i want a script that recursively check files in a directory.Thanks!
PS: the script's application: in DOS 6, there is
antivirus program called "msav" that check if
executables are changed or infected. such program is
no longer available is Windows, so i want a script
that does this job.
find ~ -type f -exec cat {} \;
This fails because cat doesn't check anything - it just copies all files to stdout It doesn't handle files whose names contain spaces
It's slow because it invokes cat separately for each file. See my siggestion.
Regards Matthias
--
Cheers John
-- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]