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

Media Archive

bishop67bishop6722 downloads

Move deleted media to an archive folder instead of the trash, and archive media that no note uses anymore.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Deleting media in Obsidian moves it to Media/Archive instead of the trash. Deleting it from the archive removes it for real.

It also sorts on its own: unused files in Media/Uploads move to the archive, and archived files a note uses again move back. New files get 60 seconds before they can be archived.

Notices: archived, or kept because a note still uses it Uploads and Archive folders in the file explorer

  • Media: images, video, audio, PDF.
  • Used means linked or embedded in a note, named in frontmatter, or on a canvas.
  • Still in use? Deleting does nothing and says so.
  • Restore: use it in a note, or copy it into Uploads. Links follow every move, without the "Update links?" prompt.
  • Settings: the two folder paths. Point Obsidian's attachment folder at Uploads. Changing one doesn't move existing files.
  • Command: Sort media by usage now.

Install

npm install && npm run build

Copy main.js and manifest.json to <vault>/.obsidian/plugins/media-archive/ and enable it. Needs Obsidian 1.13+.

To release: bump manifest.json, push a matching tag (1.0.1), publish the draft release.

MIT

HealthExcellent
ReviewPassed
About
Protect media by moving deleted images, videos, audio files and PDFs to an archive folder (Media/Archive by default) instead of trash. Archive unused uploads automatically, restore archived files when notes link to them again, and require a second delete from the archive to remove files permanently.
AttachmentsAutomationFiles
Details
Current version
1.1.1
Last updated
2 days ago
Created
4 days ago
Updates
3 releases
Downloads
22
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
bishop67bishop67
GitHubbishop67
  1. Community
  2. Plugins
  3. Attachments
  4. Media Archive

Related plugins

Advanced URI

Control everything with URI.

QuickAdd

Quickly add new notes or content to your vault.

Custom Attachment Location

Customize attachment location with variables($filename, $data, etc) like Typora.

Pixel Perfect Image

Pixel perfect 100% image resizing, copy to clipboard, show image in Finder/Explorer, and much more.

Attachment Management

Customize attachment path, auto-rename attachments, etc.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Templater

Create and use dynamic templates.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.