01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
pdumpfs -w "NMZ.*" $dir $backupdir >> $backupdir/$logfile
% ls -li /project/backup/*/*/*/masao/Mail/NMZ.* | awk '{print $1}' | sort | uniq -c | sort -nr
% ls -il /project/backup/*/*/*/masao/Mail/NMZ.* | ruby -e 'h={};ARGF.each do |line| a=line.split; h[a[0]]=a[5].to_i;end; puts h.values.inject(0){|t,v| t+=v;}'