12
15

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.

Dropboxの「〜の競合コピー」なファイルをfindで一括削除

Posted at

ちゃんとgitだけで管理すればいいのに、めんどくさいからという理由でgitで管理してるフォルダをDropboxにおいちゃうと「〜の競合コピー」と言った感じのファイルが.gitフォルダ以下に作成されたりして非常にめんどくさいことになることがあります。

解決策

該当するフォルダに移動して

find . -name '*ubuntu の競合コピー*' -exec rm {} \;

でOK。もちろん競合コピーのほうが新しかったら変更部分は全部消えちゃうのでその点はお忘れなく。

12
15
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
12
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?