RMF(1): remove files
__________________________________________________
USAGE
usage: rmf [-Dafnv] {file}
-D: debug
-a: remove all
-f: quiet, called 'force' in unix
-n: dry run; report removes but do not do them
-v: verbose; print the calls made in the order they are
made.
DESCRIPTION
Rmf removes files in the input or arguments. Note that this
implies that it can remove whole trees. The -a flag further
implies to remove subtrees for each directory entry found in the
input, but note that using useful when using the predicate to
select the root of subtrees to be removed.
You are adviced to use first lf and then edit the command to be
rmf to be sure of what you are going to remove.
EXAMPLES
Remove everything (do not try this at home):
; rmf /,
or perhaps
; lf /, | rmf
Remove all Ada source files from /src, a very useful command:
; lf '/src,~\.ad[bs]$' | rmf
Using the same example, print one line per file remove but do not
remove anything:
; rmf -n '/src,~\.ad[bs]$'
SOURCE
+o /zx/sys/src/clive/cmd/rmf
__________________________________________________
User's manual. Section 1. Copyright © LSUB 2014-2016