Time to dump .local/share/Trash/...?

Probably a silly question given the name of the directories, but I have several gigs worth of files hogging up space in various directories that fall under ~/.local/share/Trash/... May I reasonably assume there’s no good reason to let them linger any longer?

FWIW, I’m running i3wm and don’t knowingly use a trash bin. As such, when I delete something, I thought our relationship has truly ended for good. :broken_heart:

Yes, but to be even safer, do it from the Trash/Wastebin shortcut (usually in the left pane) in your file manager, like a normal person would.

Another safer option is using the command below:

trash-empty

Most users should be able to do this as it comes with the trash-cli package.

3 Likes

Good counsel … although I have no trash bin shortcut in my usual file manager since it’s a text-based nnn app, I opened up an instance of nemo and dumped trash from there.

Confirmed those files are now gone. Thanks for your prompt confirm.

BTW, thanks for the high praise. I always appreciate the encouragement. :wink:

1 Like

Well at least accidentally you do, otherwise it wouldn’t exist. Probably worth figuring out.

You may want to consider setting up an automatic purge of old trash files. I’ve setup my system to run a daily check for trash files/directories over 30 days old. This requires the trash-cli package, as mentioned by @anon93652015.

Let me know if you’re interested.

Yep. Something like:

trash-empty 7

This sets it for removing files older than 7 days.

For me, I clear my trash almost as soon as I see that the trash icon in my GUI file manager has something in it. So, like 10 times a day minimum. :sweat_smile:

1 Like

True 'nuff. My digital trash probably accumulates just like all that crap on our dining room table. At least my wife doesn’t complain about what’s piling up in .local/share/Trash... :roll_eyes:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.