Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Paste Image Rename Folder Guard

haperonehaperone20 downloads

Exclude vault folders from automatic attachment renaming by Paste image rename.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

An add-on for Paste image rename that adds folder exclusions. Choose the folders where Paste image rename must not automatically rename attachments or show rename prompts. It continues working as usual everywhere else.

Paste image rename must be installed and enabled separately. Folder Guard needs it to work.

Инструкция на русском

Usage

  1. Enable Paste image rename and Folder Guard.
  2. Open Settings → Paste Image Rename Folder Guard.
  3. In Excluded folders, start typing a folder name and select it from the suggestions. It appears as a chip.
  4. Confirm that Connection status says the guard is connected before starting an import.

Click a chip to remove its exclusion. To exclude a folder that does not exist yet, enter its full path relative to the vault and click Add folder.

No folders are excluded by default. Changes apply immediately and are saved automatically. Removing all chips clears all exclusions.

For example, exclude Telegram to keep the original names of attachments created by Telegram Sync, while Paste image rename continues handling attachments in other folders.

Matching rules

  • Paths are relative to the vault root, and refer to the attachment's location, not the note's location.
  • Each rule includes all subfolders. Telegram/ protects Telegram/photo.png and Telegram/Media/photo.png, but not Telegram-old/photo.png or Notes/Telegram/photo.png.
  • Matching is case-sensitive: use the exact capitalization shown in your vault.
  • Leading/trailing slashes and Windows backslashes are normalized. Duplicate rules are ignored.
  • Each chip represents one folder. Folder names can contain commas and semicolons.
  • Absolute drive paths, URLs, root-only rules, and . or .. path segments are rejected and shown in settings. No wildcards or regular expressions are supported.
  • Rules may refer to folders that do not exist yet.

Scope and compatibility

Folder Guard only controls Paste image rename's automatic processing. It does not rename, move, delete or rewrite files itself, and it does not change the original plugin's settings.

Manual batch rename commands are outside the guard's scope. Existing files are not scanned or reverted, and operations already started before the guard connected are not cancelled. Other plugins' file operations are not blocked.

After enabling or reloading Paste image rename, connection can take up to one second. Files created before connection are not protected. Wait for the connected status before importing. If settings report an incompatibility or conflict, protection cannot be confirmed.

Disabling Folder Guard lets Paste image rename handle all folders as usual.

Requires Obsidian 1.8.7 or later. On 1.13 and later, you can also find the exclusions through settings search.

Install manually

  1. Install and enable Paste image rename from Community plugins.
  2. Download main.js, manifest.json, and styles.css from the latest release.
  3. In your vault's configuration directory (normally .obsidian), create plugins/paste-image-rename-folder-guard/ and put those three files inside.
  4. Reload Obsidian, then enable Paste Image Rename Folder Guard in Community plugins.

For the packaged ZIP, extract its paste-image-rename-folder-guard folder directly into the configuration directory's plugins folder. Avoid nesting it twice.

Upgrade from the temporary helper

Disable the old helper, replace only main.js and manifest.json, add styles.css, then enable it again. Keep the existing data.json to preserve your saved exclusions. Do not install both copies simultaneously.

Privacy

Folder Guard makes no network requests, sends no telemetry, requires no account or payment, and reads no files outside the vault. It saves only your exclusion settings and does not change Paste image rename's settings.

License and credits

MIT. See LICENSE.

Paste image rename is developed by Reorx.

HealthExcellent
ReviewPassed
About
Protect attachments in chosen folders from Paste Image Rename's automatic renaming and confirmation prompts. Keep vault files unchanged — the guard skips automatic renames for excluded folders while leaving all other Paste Image Rename behavior intact (requires Paste Image Rename enabled).
AttachmentsFolders
Details
Current version
1.0.2
Last updated
38 minutes ago
Created
3 days ago
Updates
3 releases
Downloads
20
Compatible with
Obsidian 1.8.7+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
haperonehaperone
github.com/haperone
GitHubhaperone
  1. Community
  2. Plugins
  3. Attachments
  4. Paste Image Rename Folder Guard

Related plugins

File Cleaner Redux

Help you to clean empty files and unused attachments in the vault.

Share Note

Instantly share/publish a note, with the full theme and content exactly like you see in Obsidian. Data is shared encrypted by default, and only you and the person you send it to have the key.

Consistent Attachments and Links

Move note attachments and update links automatically.

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.

YAOS

Simple real-time sync powered by your own Cloudflare Worker.

Folder notes

Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.

Relay

Collaborate in real time with live cursors. Share folders. Manage access to updates.

Imagine

A comprehensive image management plugin for managing, inserting, resizing, viewing, and batch processing images.

Hide Folders

Quickly toggle the visibility of specific folders in the file navigator based on configured names. Useful for hiding attachment folders.

Waypoint

Easily generate dynamic MOCs in your folder notes using waypoints. Enables folders to show up in the graph view and removes the need for messy tags!