|
|
|
|
|
by EvilTerran
3494 days ago
|
|
Isn't that just "rm -rv *"? The original spec was to only delete files, not directories - and only those matching a given pattern, at that. Also, I think yours would go into an infinite spin if it met a symlink loop (say, "ln -s . foo") - File::Find is hardened against that kinda shenanigans. |
|