4 ms·
Wanting to remove the files was so common that some finds have it built-in. Avoids even the overhead of -exec rm {} +. find -name '*.log' -delete
by ralph 14y ago
Wanting to remove the files was so common that some finds have it built-in. Avoids even the overhead of -exec rm {} +.
find -name '*.log' -delete
- gnaritas 14y agoTrue, but the issue isn't removing files, the issue is generalizing a command for mapping output of a command to another command. rm was just a simple example. xargs is far more useful than simply deleting files.