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

add Linux/Freedesktop removeable media trashes cleaner #252

Merged
merged 1 commit into from Mar 30, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 33 additions & 0 deletions release/trashes.xml
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

BleachBit
Copyright (C) 2010-2014 Andrew Ziem
http://www.bleachbit.org

GVFS cleaner
Copyright (C) 2019 nodiscc

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

-->
<cleaner id="trashes" os="linux">
<label>Trashes</label>
<description>Freedesktop trashes</description>
<option id="trashes_removeable">
<label>Removeable Media Trashes</label>
<description>Delete trashes on removeable media mounted in /media/</description>
<action command="delete" search="walk.all" path="/media/*/.Trash*"/>
</option>
</cleaner>