CopyGuard

by k-tech-studio
5
4
3
2
1
Score: 50/100

Description

Find sync-conflict copies, empty files, and leftover temp files. Review, then move only what you approve into a dedicated trash folder.

Reviews

No reviews yet.

Stats

0
stars
332
downloads
0
forks
36
days
6
days
6
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
11
commits

Latest Version

6 days ago

Changelog

Changelog

1.3.0

  • Scan: compare each row with the original. Matching bytes show as name-only. Still does not merge
  • Restore indexed files from the Trash Box to the original path. Occupied paths fail without overwrite. Files quarantined before 1.3.0 cannot be restored to the original path
  • Stronger caution for numbered duplicates (still off by default)

日本語

  • スキャン: 元がある行は確認できる。中身が同じなら「名前だけ」。マージはしない
  • Trash Box から、索引のあるファイルを元の場所へ戻す。元の場所が埋まっていれば上書きしない。1.3.0より前の隔離は元の場所へ戻せない
  • 番号付き重複の注意を強めた(既定はオフのまま)

1.2.0

  • Scan: select every conflict copy that has the same bytes as the original in the same folder. Review the checks, then move. Still does not merge

日本語

  • スキャン: 同じフォルダの元ファイルと中身が同じ競合コピーだけをまとめて選ぶ。確認してから移動する。マージはしない

1.1.1

  • Detect Proton Drive names: (# Edit conflict …) and (# Name clash …), including several suffixes on one file
  • Detect official Sync files named Note-conflict-YYYY-MM-DD (optional time)
  • When the original is in the same folder, show if the copy has the same bytes

日本語

  • Proton Drive の (# Edit conflict …) / (# Name clash …) を検出。同じファイルに複数付いていても元の名前まで戻す
  • 公式 Sync の Note-conflict-YYYY-MM-DD(時刻付きも)を検出
  • 同じフォルダに元があるとき、中身が同じなら一覧に出す

1.1.0

  • Style the Buy Me a Coffee button with CSS variables and higher specificity (no !important)

1.0.6

  • Detect official Sync leftovers (Note (conflict 2026-08-31 1234))
  • Detect Dropbox names in Korean, Chinese, Spanish, and Portuguese
  • Detect Nextcloud Note_conflict-YYYYMMDD-HHMMSS
  • List name-pattern matches even when the original is missing from the same folder

1.0.5

  • Detect Dropbox conflict copies that put the account name before 競合コピー / conflicted copy (Japanese and English)

1.0.4

  • UI in 8 languages: Japanese, English, German, Korean, Simplified Chinese, Traditional Chinese (Taiwan), Spanish, Portuguese
  • Settings use tag-style section tabs (General / Scan / Delete / Info)
  • GitHub Issues link and banner for bug reports
  • Warning modal when enabling “Ask on startup” for quarantine delete

1.0.3

  • Community review warnings: drop builtin-modules, use getLanguage(), typed settings load, createDiv/createSpan, FileManager.trashFile(), settings search via getSettingDefinitions(), no floating Promise in the confirm click
  • minAppVersion is 1.8.7 (getLanguage)
  • Final delete follows the app’s Deleted files setting (no extra OS-trash toggle)

1.0.2

  • Settings: do not use the plugin name as a heading

1.0.1

  • Keep minAppVersion 1.5.0: detect UI language without getLanguage
  • Use Setting.setHeading() in settings (and related headings)

1.0.0

  • Review conflict copies (English / Japanese / German names, Syncthing), empty files, and leftover temp files
  • Move only what you select into K-Tech Trash Box
  • Ask before deleting from that folder (default is keep)
  • UI follows the app language: Japanese, English, or German
  • Disclaimer and privacy text in the plugin
  • Buy Me a Coffee (optional)

Full Changelog: https://github.com/crossbeat461-a11y/copy-guard/compare/1.2.0...1.3.0

README file from

Github

CopyGuard

GitHub release License: MIT Release App 1.8.7+ Buy Me A Coffee

English · 日本語 · Deutsch

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 .icloud placeholders 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

  1. Enable CopyGuard
  2. Click the ribbon icon (two overlapping pages) or run Open CopyGuard
  3. Check what to scan, then Scan
  4. 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
  5. Restore from the trash box to the original path when you need to (command, scan window, or the startup prompt)
  6. 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

Buy Me a Coffee

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


日本語

同期で隣に増えた競合コピー、空ファイル、一時ファイルを点検します。選んだものだけ隔離フォルダへ移します。削除は二段階で、既定は消さないです。ご利用は自己責任です。

使い方

  1. CopyGuard を有効にする
  2. 左リボン(重なったページのアイコン)かコマンド「CopyGuardを開く」
  3. 項目にチェックしてスキャン
  4. 選んで K-Tech Trash Box へ移動。スキャン後の 同じ内容だけ選ぶ は、同じフォルダの元と中身が一致するコピーだけにチェックを付ける。確認 で元とコピーを見比べる
  5. 隔離フォルダから元の場所へ戻すときは、コマンド、スキャン画面、または起動時の確認から
  6. 隔離フォルダの削除は、起動時の確認で本人が選ぶ

手動インストールは 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.