home *** CD-ROM | disk | FTP | other *** search
- rm (local) Disk Utilities v1.1 rm (local)
-
- NNAAMMEE
- rm - This program removes files, and allows for the removal
- of complete directory structures.
-
-
- SSYYNNOOPPSSIISS
- rm <-ifpsr> [pattern ...] file [file ...]
-
-
- EENNVVIIRROONNMMEENNTTSS
-
- Options for this program will also be looked for in
- command.com's environment. This is done with the set command
- (e.g. set rm=f causes rm to always use the option f).
-
-
- OOPPTTIIOONNSS
-
- i - Ask user if should remove protected files (default).
-
- f - Automatically remove protected files. The program does not
- prompt the user it simply delete every file.
-
- p - pattern, copy only files matching the specified pattern.
- Multiple patterns can be specified with multiple p options (for
- example "rm -ppp *.c *.h *.bat c:\" would remove all *.c *.h and
- *.bat files on the c drive).
-
- s - skip any files matching specified pattern. Multiple skip
- options can be included also, such as "-sss *.obj *.exe *.map"
-
- r - Recursive remove (remove all subdirectories and subfiles).
- The most powerfull and dangerous aspect of this program. It
- allows complete directory structures to be deleted very easily
- (but also allows complete hard disks to be erased with one
- command).
-
-
- EEXXAAMMPPLLEESS
-
- rm *.com *.exe *.obj
- Delete every file ending in ".com" ".exe", and ".obj".
-
- rm -rf d:\tmp c:\turboc
- If tmp and turboc are files, the two files will be deleted, if
- not then both directory structures will be removed.
-
- rm -rfppps *.exe *.com *.obj cp.exe c:\bin
- Remove all .exe .com and .obj (except cp.exe) on c:\bin.
-
- rm -rf c:\*.*
- Delete every file on the c drive.
-
-
- BBUUGGSS
-
- None that I know of!
-
-
-
-
-
- -1-
- !
-