File: INSTALL

package info (click to toggle)
safe-rm 1.1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 196 kB
  • sloc: makefile: 26; sh: 2
file content (15 lines) | stat: -rw-r--r-- 560 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
In order to install safe-rm and make sure that it is being picked up instead of
the usual "rm" command, make sure that you copy it in a location at the front of
your path.

For example, if your path contains:

  PATH=/usr/local/bin:/usr/bin:/bin

Then, putting safe-rm in /usr/local/bin and renaming it to "rm" will ensure that
all users on your system use safe-rm instead of the real rm.

Alternatively, symlink the safe-rm binary into a location like /usr/share/safe-rm/bin/rm
and then set the following in your shell:

  PATH="/usr/share/safe-rm/bin:$PATH"