File: safe-rm.desktop

package info (click to toggle)
safe-rm 1.1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 196 kB
  • sloc: makefile: 26; sh: 2
file content (13 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Desktop entry for safe-rm right-click menu

[Desktop Entry]
Version=1.0
Type=Service
Name=safe-rm
Comment=A small safeguard against accidental removal of important files
Actions=add;
X-KDE-ServiceTypes=all/allfiles,inode/directory,KonqPopupMenu/Plugin

[Desktop Action add]
Exec=bash -c 'for i in "$@" ; do echo "$i" >> ${HOME}/.config/safe-rm; done' dummy %F
Name=Add to safe-rm protection list