LoginSignup
2
3

More than 5 years have passed since last update.

Dropboxの競合コピーのファイルを一括で削除する

Last updated at Posted at 2018-01-06

Dropboxのディレクトリ配下にgitリポジトリを作成すると、.git の中にDropboxの競合コピーのファイルがたくさん作られてしまいました。

スペースを含むファイルをfindとxargsで一括で削除するのに少し手間取ったので、メモを残しておきます。

find . -name "*の競合コピー*" -type f -print0 | xargs -0 rm

 参考記事

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