Instead of rm, do you maybe want the unlink function? Note that this function won't ask/warn you if you're deleting files that don't have the appropriate attributes set.
Also, you might or might not want to read the files yourself instead of using tail, by using seek and the diamond operator.
In reply to Re: Efficient deletion of files / shell interaction
by Corion
in thread Efficient deletion of files / shell interaction
by madd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |