Asia & global innovation
Sign inJoin us
TechStar AsiaIdeas without bordersAsia & global innovation
← Latest news

From Dev.to

`find -delete` before `-name` deletes everything

This looks like it deletes one temp file. It deletes the whole directory, including the directory itself: mkdir demo touch demo/keep.txt demo/old.tmp find demo -delete -name '*.tmp' ls demo # ls: ca...

Read the full report at Dev.to ↗