Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear trash from command line #165

Open
Benjamin-Loison opened this issue Nov 21, 2024 · 2 comments
Open

Clear trash from command line #165

Benjamin-Loison opened this issue Nov 21, 2024 · 2 comments

Comments

@Benjamin-Loison
Copy link
Owner

Nemo mentions trash:///.

Related to #72, #136 and #155.

@Benjamin-Loison
Copy link
Owner Author

Benjamin-Loison commented Nov 21, 2024

DuckDuckGo search Cinnamon clear trash.

https://forums.linuxmint.com/viewtopic.php?t=265726 does not seem to help.

DuckDuckGo search Cinnamon Empty Trash from command line:

ls -lah ~/.local/share/Trash/*
Output:
/home/benjamin/.local/share/Trash/expunged:
total 200K
drwx------ 2 benjamin benjamin 192K Nov 21 01:48 .
drwx------ 5 benjamin benjamin 4.0K Jan  3  2023 ..

/home/benjamin/.local/share/Trash/files:
total 2.0M
drwx------ 2 benjamin benjamin 2.0M Nov 21 01:48 .
drwx------ 5 benjamin benjamin 4.0K Jan  3  2023 ..

/home/benjamin/.local/share/Trash/info:
total 2.1M
drwx------ 2 benjamin benjamin 2.1M Nov 21 01:48 .
drwx------ 5 benjamin benjamin 4.0K Jan  3  2023 ..

Source: the Ask Ubuntu answer 468722

@Benjamin-Loison
Copy link
Owner Author

ls -lah ~/.local/share/Trash/*
Output:
/home/benjamin/.local/share/Trash/expunged:
total 200K
drwx------ 2 benjamin benjamin 192K Nov 21 01:48 .
drwx------ 5 benjamin benjamin 4.0K Jan  3  2023 ..

/home/benjamin/.local/share/Trash/files:
total 2.0M
drwx------ 3 benjamin benjamin 2.0M Nov 21 01:50 .
drwx------ 5 benjamin benjamin 4.0K Jan  3  2023 ..
-rw-rw-r-- 1 benjamin benjamin   15 Nov 21 01:50 a_file
drwxrwxr-x 2 benjamin benjamin 4.0K Nov 21 01:50 an_empty_folder

/home/benjamin/.local/share/Trash/info:
total 2.1M
drwx------ 2 benjamin benjamin 2.1M Nov 21 01:50 .
drwx------ 5 benjamin benjamin 4.0K Jan  3  2023 ..
-rw------- 1 benjamin benjamin   81 Nov 21 01:50 a_file.trashinfo
-rw------- 1 benjamin benjamin   90 Nov 21 01:50 an_empty_folder.trashinfo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant