my @cksums; my @files = `find $path -type f`; # apologies to etcshadow chomp @files; push @cksums, `cksum $_` for ( @files );