シェルスクリプト総合@LINUX Part3
■ このスレッドは過去ログ倉庫に格納されています
0688login:Penguin
2008/02/25(月) 13:47:58ID:pu40lUxS#!/bin/sh
# finddup.sh -- find . | finddup.sh
while read -r FILENAME
do
[ -f "$FILENAME" ] &&
printf "%14d:%s\n" `stat -c %s "$FILENAME"` "$FILENAME"
done | sort | uniq -D -w14 | cut -b 16- |
xargs md5sum | sort | uniq -D -w32
■ このスレッドは過去ログ倉庫に格納されています