On Sat, Mar 06, 2010 at 08:33:33PM +0200, Vladimir A. Svyatoshenko wrote: > for f in * > do > tmp=`md5sum "$f" | awk '{print $1}'` > awk '{if($1 != $tmp) print $2}' ~/bookÙ.csv > # mv "$f" /mnt/hash/`md5sum "$f" | awk '{print $1}'` > done Ñ Â ÐÏÐÒÏÂÏ×ÁÌ ÔÁË: find -type f -exec md5sum "{}" + | cut -d' ' -f1 | while read tmp; do awk -v tmp=tmp '{if($1 != tmp) print $2}' ~/books.csv ÈÏÔÑ ÞÔÏ ÜÔÏ ÚÁ ÐÒÏ×ÅÒËÁ: awk '{if($1 != $tmp) print $2}' ~/bookÙ.csv - ÍÎÅ ÎÅ ÐÏÎÑÔÎÏ :) -- ó Õ×ÁÖÅÎÉÅÍ áÆÁÎÁÓÏ× äÍÉÔÒÉÊ