2007-06-13 windowsのファイルのパーミッションを整える sh 共有サーバからコピーしてきたwindowsのファイルのパーミッションを整える。 Thumbs.dbを削除しとく。 #!/bin/sh d=`pwd` find "$d" -type f -name 'Thumbs.db' | xargs rm find "$d" -type f | xargs chmod 0644 find "$d" -type d | xargs chmod 0755 echo "done."