2
2

More than 5 years have passed since last update.

.DS_Storeをファイルサーバに上げないようにする

Last updated at Posted at 2018-12-28

.DS_Storeを消し去るコマンド

sudo find $USER -name .DS_Store -print -exec rm {} ';'

cd ~/ を押したあとcd ../ で1回層潜ってから上記コマンドを実施
すると、 いろんなフォルダの .DS_Store が消えていく

.DS_Store自体を生成しないようにするコマンドもあるが、Finderやアプリケーションが起動しないなど不具合もあるようなので自己責任。

Filezillaで.DS_Storeをフィルタリングする

1: 表示 > ディレクトリリストのフィルタリングを押す
2: フィルタルールの編集を押す
スクリーンショット 2018-12-28 14.16.03.png

3: [新規]> 任意の名前(例: .DS_Store)をつける > OK

4:設定をこんな感じにする > OK
スクリーンショット 2018-12-28 14.20.04.png

5:左がローカル、右がリモートなので左側の .DS_Store にチェックを入れる > [適用] > OK
スクリーンショット 2018-12-28 14.21.17.png

これでかんぺき。

2
2
1

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
2
2