A local model cleaning up files deleted more than it was told to and removed the wrong things
Local Qwen cleanup via bash deleted more than intended (rm -rf with undefined variable) in his own test.
This one went wrong. Read what happened so you don’t hit the same problem.
How it works
- Local model runs a cleanup through bash
- A variable comes back empty
- The delete command removes more than intended
Why it’s worth knowing
One empty variable turned a tidy-up into a deletion.
Where it’s from
Summarized from a public post on news.ycombinator.com. See the original ↗