25
27

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

.DS_Storeを一気に消す

Posted at

OSX以外の環境の人にとっては、
Thumb.db に匹敵するほど嫌わてれる .DS_Store

こいつをカレントディレクトリ以下から一気に消し去るには、

以下のコマンド
find . -name ".DS_Store" -print -exec rm {} ";"

これで、再帰的に削除してくれるので、安心してOSX以外の人とのファイル交換できる。

肌色率の高い画像ごっそりのディレクトリを、人が見てるのに Finder で開いてカバーフロー全開!!

なんて非常事態に備えて、定期実行しておくのも有効な利用方法かもしれない。

25
27
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
25
27

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?