←back to thread

2 points stranger-ss | 1 comments | | HN request time: 0s | source

Hi HN,

I built a small command-line tool inspired by Thanos’s snap. It selects randomly exactly half the files in a directory and (optionally) deletes them.

Repo: https://github.com/soldatov-ss/thanos

PyPI: https://pypi.org/project/thanos-cli/

It’s intentionally simple — feedback is welcome.

Show context
ggm ◴[] No.45989852[source]
Which of . And .. does it delete?
replies(1): >>45989888 #
1. stranger-ss ◴[] No.45989888[source]
Thanos deletes files of the directory you’re currently standing in