Skip to main content

Space Trash

Last updated 2026-10-11 · 5 min

Overview

The Space Trash holds files that Garnet removed or replaced in your Space, until you restore them or empty the Trash. It is Garnet's own Trash, separate from your computer's.

It lives on this device only, in .garnet/trash/ inside your Space folder. Garnet Sync does not carry it to your other devices, so each device has its own. That is deliberate: a delete on one device should never reach into another device's recovery copies.

Why have it at all? Garnet's rule is that your writing stays recoverable. One place that every delete passes through is easier to trust than a different safety net for each kind of delete.

What lands in the Trash

Every time Garnet deletes one of your files, or sync or a repair replaces or removes one, the old file goes to the Trash on that device first. This covers notes and other items you delete, attachments, files left behind by a rename or move, files a restore removes, files sync replaces or removes, and files Doctor moves during a repair. Your own edits are not Trash entries: Garnet keeps them as Versions. Deleting a record inside a Collection does not use the Trash either; a Restore Point made first holds the records file. Garnet also keeps Restore Points and Versions for some of these, so you often have more than one way back.

Each row says why the file is there, using these labels:

  • Deleted by you
  • Replaced by sync
  • Deleted by sync
  • Left by a rename
  • Attachment removed
  • Removed by a restore
  • Doctor repair
  • Version cleanup

Deleting a Restore Point yourself is a normal "Deleted by you" entry: the files only that point held go to the Trash.

A row keeps the file’s original path, and a restore uses it. Only the stored copy is renamed: a \ or : in the file name becomes _ there, because Windows reads those as a separator or a stream. If you delete again after a delete failed part way, Garnet reuses the entry it made in the last day for the same file instead of adding a duplicate.

Version cleanup

When Garnet trims old Versions, it moves them to the Trash too. There can be many, so the Trash page hides them. Turn on Show version cleanup to see them. They are emptied after 30 days, whatever your automatic emptying setting says, and Empty Trash only empties what the page shows.

Restore a file

  1. Open the Trash from the Space menu, from Settings under Tools, then Trash, or with Open Trash on the Trash card in Settings, then Data & recovery.
  2. Each row shows the file name, the folder it came from, why it is there, and when. Newest comes first.
  3. Choose Restore on a row. Garnet writes the file back to its original path.
  4. If a file already has that name, Garnet restores beside it as Name (restored).md, then Name (restored 2).md, and so on. It never overwrites, so you can compare the two and keep what you want. On a computer, iPhone, iPad, or Android device this holds even when another app creates a file with that name at the same moment. In a web browser, Garnet checks again right before it writes, but the browser offers no way to close that last instant.
  5. Choose Delete forever on a row to remove just that one entry.

Garnet never restores into .garnet or into any .git folder, at any depth. Those rows are listed so you can empty them, but their Restore button is turned off. On Windows, a restore also refuses a name Windows can’t use, such as CON, a name ending in a dot or space, or one with a :. The message says the file is still in the Trash and names the folder that holds the kept copy, .garnet/trash/ followed by the entry’s ID.

If a restored copy does not read back whole, Garnet keeps the Trash entry. When it left an incomplete file behind, the message says where; you can delete that file.

Emptying the Trash

  • On desktop, emptying moves each file to your computer's own trash (the Recycle Bin on Windows). You can still get it back from there. If your computer's trash refuses a file, the file stays in the Space Trash, and Garnet asks a second, separate time before it deletes anything for good.
  • On mobile and in the browser, there is no system trash Garnet can use. Emptying deletes for good, and Garnet warns you first.

Empty automatically

Settings, then Data & recovery, then Trash shows how many files and how much space the Trash uses on this device. The "Empty automatically" setting is Off, After 30 days, or After 90 days. It is Off unless you change it.

When it is on, Garnet clears files older than that when the Space opens and once a day while it stays open. Version cleanup is emptied after 30 days either way. On desktop they go to the system trash. On mobile and in the browser they are deleted for good, and the setting says so.

Troubleshooting

If a Space is open read-only, you can see the Trash but not restore or remove anything. Garnet's own control files, such as the Space settings, show a Restore button that is turned off. They are never written back from here.

If the Trash page says it cannot be shown, your files are still in .garnet/trash/. See Recover your files without Garnet.

A folder-sync tool that syncs your whole Space folder, such as iCloud Drive or Dropbox, also copies .garnet/trash/ to your other devices. Garnet then lists those files as that device's Trash.

Still need help?

Email support for private account or Space questions. Use Reddit only for public community discussion.

Contact support