https://github.com/dloebl/rm
rm is a command-line utility that can delete directory entries. Written in C, requires an at least partly POSIX conforming operating system underneath. The goal of this tool is, to fulfill the corresponding POSIX standard as good as possible, without adding more features.
https://github.com/dloebl/rm
c cc0 clean-code command command-line-tool coreutils fast lightweight linux posix posix-compliant rm-utility shell simple speed standard tool unix unix-command utility
Last synced: about 2 months ago
JSON representation
rm is a command-line utility that can delete directory entries. Written in C, requires an at least partly POSIX conforming operating system underneath. The goal of this tool is, to fulfill the corresponding POSIX standard as good as possible, without adding more features.
- Host: GitHub
- URL: https://github.com/dloebl/rm
- Owner: dloebl
- License: cc0-1.0
- Created: 2020-03-17T20:43:20.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-14T09:04:47.000Z (over 5 years ago)
- Last Synced: 2026-02-22T04:07:34.454Z (3 months ago)
- Topics: c, cc0, clean-code, command, command-line-tool, coreutils, fast, lightweight, linux, posix, posix-compliant, rm-utility, shell, simple, speed, standard, tool, unix, unix-command, utility
- Language: C
- Homepage:
- Size: 41 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rm
rm is a command-line utility that can delete directory entries.
Written in C, requires an at least partly POSIX conforming operating system underneath.
The goal of this tool is, to fulfill the corresponding POSIX standard as good as possible, without adding more features.
## Syntax
* rm [-iRr] file...
* rm -f [-iRr] [file...]
## Options
* -f
* Forced mode, errors will be ignored. Will not prompt for any confirmation from the user.
* -i
* Interactive mode. Will prompt for confirmation from the user on every single item to be deleted.
* -r *or* -R
* Recursive mode. When set, it is possible to delete whole directories.
## Notes
Does NOT include any security features (e.g. preserve-root).
*For more details about the usage, please refer to:* https://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm.html