README file from
GithubCopyGuard
K-Tech Studio plugin that finds sync-conflict copies, empty files, and leftover temp files. You review the list, then move only what you approve into a dedicated folder. Deleting is a second step, at your own risk.
English
What it does
- Detects conflict copies (Dropbox / official Sync including
-conflict-names / Proton Drive / Syncthing / Nextcloud; Japanese, English, German, Korean, Chinese, Spanish, Portuguese). Lists them even if the original is missing. - When the original is in the same folder, a badge shows if the copy has the same bytes (name only). Still does not merge
- After a scan, Select identical copies checks only those matching copies. You still review and move them yourself. Compare opens the original and the copy
- Restore indexed files from K-Tech Trash Box to the original path. If something already occupies that path, restore fails for that file (no overwrite). Files moved before 1.3.0 have no index and cannot be restored to the original path
- Optional numbered names like
Note 2.md(off by default — easy to confuse with a real title) - Empty (0-byte) files and temp leftovers (
.tmp, trailing~, Office lock files), with a minimum age in days - Skips
.icloudplaceholders and files you currently have open - Moves selected files to K-Tech Trash Box (name is configurable)
- On startup, if that folder has files, asks whether to delete. Default is keep
- UI: Japanese / English / German / Korean / Simplified Chinese / Traditional Chinese (Taiwan) / Spanish / Portuguese from the app language
What it does not do
- It does not merge conflict copies
- It does not delete until you confirm the quarantine folder
- It cannot stop iCloud or Dropbox from creating copies
How to use
- Enable CopyGuard
- Click the ribbon icon (two overlapping pages) or run Open CopyGuard
- Check what to scan, then Scan
- Select rows and move them to the trash box. After Scan, Select identical copies checks only copies whose bytes match the original in the same folder. Use Compare when you want to see original vs copy
- Restore from the trash box to the original path when you need to (command, scan window, or the startup prompt)
- Delete from that folder only when you mean to (startup prompt, default: later)
Install (manual)
Download main.js, manifest.json, and styles.css from Releases into <vault>/.obsidian/plugins/copy-guard/, then enable the plugin.
Author
K-Tech Studio
Support
Disclaimer (no warranty)
This software is provided as is, without warranty. Detection can be wrong. Moves and deletes may sync to other devices. Use at your own risk. See the MIT License.
Privacy
Work stays in this vault on this device. Settings are stored in data.json. No telemetry. Buy Me a Coffee opens in the browser only if you click it.
License
MIT
日本語
同期で隣に増えた競合コピー、空ファイル、一時ファイルを点検します。選んだものだけ隔離フォルダへ移します。削除は二段階で、既定は消さないです。ご利用は自己責任です。
使い方
- CopyGuard を有効にする
- 左リボン(重なったページのアイコン)かコマンド「CopyGuardを開く」
- 項目にチェックしてスキャン
- 選んで K-Tech Trash Box へ移動。スキャン後の 同じ内容だけ選ぶ は、同じフォルダの元と中身が一致するコピーだけにチェックを付ける。確認 で元とコピーを見比べる
- 隔離フォルダから元の場所へ戻すときは、コマンド、スキャン画面、または起動時の確認から
- 隔離フォルダの削除は、起動時の確認で本人が選ぶ
手動インストールは Releases の main.js / manifest.json / styles.css を <vault>/.obsidian/plugins/copy-guard/ へ。
免責(無保証)
現状有姿です。判定は誤ることがあります。移動・削除は同期経由で他の端末にも広がることがあります。詳細は MIT ライセンス です。
Deutsch
CopyGuard findet Konfliktkopien im selben Ordner, leere Dateien und temporäre Reste. Vergleich mit dem Original (nur Name, wenn der Inhalt gleich ist). Wiederherstellung aus der Trash Box zum Originalpfad. UI: Japanisch, Englisch, Deutsch, Koreanisch, Chinesisch (vereinfacht / traditionell), Spanisch, Portugiesisch.
Manuelle Installation: Dateien aus Releases nach <vault>/.obsidian/plugins/copy-guard/.
Haftung (ohne Gewähr)
Die Software wird ohne Gewähr bereitgestellt. Die Erkennung kann irren. Verschieben und Löschen können per Sync andere Geräte erreichen. Siehe MIT-Lizenz.