Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zikani03/bobbymrdr

bobbymrdr: Bobby Might Remove the DiRectory
https://github.com/zikani03/bobbymrdr

Last synced: 21 days ago
JSON representation

bobbymrdr: Bobby Might Remove the DiRectory

Awesome Lists containing this project

README

        

bobbymrdr
=========

Bobby Might Remove the DiRectory.

> NOTE: This is a very dangerous program. ⚠️

Don't run it if you don't know what you are doing. You have been warned.

Now, here is what it does.

Removes a directory from your filesystem after a specified duration. It may create the directory if one doesn't exist.
The expressions for the time are the ones supported by Go's [time.ParseDuration](https://pkg.go.dev/time#ParseDuration) such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".

## Usage

Again, don't use this if you don't know what you are doing or aren't sure. There are no safeguards. I am not responsible for any data loss or corruption. ⚠️

```sh
$ bobbymrdr -d "new-project-directory" -after "5m"
```

## Building

You will need Go 1.18+ to build `bobbymrdr`

```
$ git clone https://github.com/zikani03/bobbymrdr

$ cd bobbymrdr

$ go build

# Put bobbymrdr in your $PATH
```

## Why?

I wanted to write some code that does something dangerous. 😎

# LICENSE

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004

Copyright (C) 2018 Zikani Nyirenda Mwase

Everyone is permitted to copy and distribute verbatim or modified
copies of this code, and changing it is allowed as long
as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.

---

(c) Zikani Nyirenda Mwase