Your example wouldn't show which files are deleted. For this, you would need something like
for @files { unlink and push @deleted,$_ }
In reply to Re^2: monitor rm command ?
by rovf
in thread monitor rm command ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |