Also, hi — I find the trash folder really annoying because when I use the search feature in Obsidian, deleted files still show up in the results, which makes it harder to find what I need.
(And in case you’re wondering, the detailed explanation below was written with ChatGPT to help describe the issue more clearly.)
I’m dealing with a frustrating issue: a folder that refuses to stay deleted, and I’d really appreciate your advice or shared experiences.
What I want to do:
Permanently delete a hidden folder named .tras (sometimes appears as rubbish) from my Obsidian vault. It seems to function as an internal trash folder for deleted files, but it clutters my workspace and makes organization difficult.
What I’ve already tried (unsuccessfully):
Manual deletion:
Enabled hidden files in my system ([Windows/macOS/Linux]).
Deleted the .tras folder manually from the file explorer.
Temporarily paused Mega Sync to stop any regeneration.
Configured both Obsidian and my system to permanently delete files (not send to trash).
Result: The folder still reappears every time I reopen the vault — even with sync disabled.
My hypothesis:
Obsidian might be recreating the folder automatically, maybe as a built-in feature when detecting deleted notes. I no longer think this is just a sync issue.
What I’m looking for:
Does anyone know how to prevent or hide this folder?
I’d especially appreciate help with:
Can Obsidian be configured not to create.tras or rubbish?
Is there a plugin or setting to hide specific folders in the file explorer?
Any way to modify vault config files to ignore this f
If the rubbish folder is truly unrelated to Megasync this won’t help, but if you point Megasync to the folder a level above the vault, the rubish folder won’t show up inside the vault.
A quick Google search indicated that the .tras folder is indeed created by MEGA to store files that have been deleted or moved locally, but this has not yet been synced to MEGA.
To hide the folder in Obsidian, go to Settings > Files and links > Excluded files > Manage and add .tras to the exclusion list.
"Wow, I didn’t expect you to reply so fast, thank you so much! This means I no longer have to be in my Obsidian searching for and confusing deleted files with current ones. Thanks!
And I know this is a different topic, but do you recommend tracking my finances in Obsidian with Ledger, or would you suggest another app? I’d like to do it in Obsidian, but I just can’t seem to get it to work
Oh, now I feel really silly for looking in the wrong place for a solution that was already in the Obsidian community. Thanks! I had no idea you could exclude things in Obsidian’s settings. I appreciate that, though I still prefer the Rabbit folder not to appear at all, just for convenience, as the previous comment mentioned.