- 609 名前:login:Penguin [2010/02/28(日) 11:58:42 ID:qTqfFliX]
- >>606
$ find /tmp/hoge* -type f /tmp/hoge1/ABC.txt /tmp/hoge1/abc.TXT /tmp/hoge1/abc.txt /tmp/hoge1/a b c.txT /tmp/hoge1/a b c.txt /tmp/hoge2/ABC.TXT /tmp/hoge2/ABC.txt /tmp/hoge2/DEF.txt $ find /tmp -type f | uniq -i -d -D --all-repeated=prepend | perl -00 -a -F'\n' -ne '{foreach $i (1..$#F){print "$F[$i]\n";}}' /tmp/hoge1/abc.TXT /tmp/hoge1/abc.txt /tmp/hoge1/a b c.txt /tmp/hoge2/ABC.txt ディレクトリの大文字小文字違いは考えてない。
|

|