/trm

A transactional, atomic, reliable POSIX's rm command implementation written in C++. 🌀

Primary LanguageC++GNU General Public License v3.0GPL-3.0

TRM Logo
./trm

Transactional POSIX’s rm command

Buy Me A Coffee

License C++ Standard Size Release Blazing Speed

(…)

trm is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
trm is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with trm. If not, see https://www.gnu.org/licenses/.

Table of Contents

Usage

(…)

$ ./trm
usage: ./trm [-dfiPRrv] file ...
       ./trm {--commit|--rollback[=1]}

(…)

Build from source

First, ensure the source tree is absolutely clean. It’s recommended this command to be issued prior to each compilation; do not rely on the source tree being clean after cloning the repository or after un-tarring:

make mrproper

To build trm, issue the following command:

make