Comment

Comment by tyingq

I use perl with find quite a bit...it's great for doing something with a list of files without spawning a bunch of processes via -exec.

Like, for example:

# delete a bunch of matching files and print the name

find . -name whatever\* -type f | perl -ne 'print;chomp;unlink'

parent tyingq 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton