in reply to Zero out particular file extentions once found
# In your wanted sub: return unless -f and /\.jpg$/; truncate $_, 0 or warn "Error truncating $File::Find::name: $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Zero out particular file extentions once found
by trenchwar (Beadle) on Mar 05, 2008 at 17:35 UTC |