All pastes #406847 Raw Edit

Someone

public text v1 · immutable
·published 2007-03-22 19:00 UTC
rendered paste body
use strict;
use warnings;
use File::Find;
#
my $targetdir = $ARGV[0];
# point it at a target directory
my $searchstring = $ARGV[1];
# find files ending in .properties or .assbarn
my $appendage = $ARGV[2];
# give the program the string you want to append to the file's name
find(\&wanted, "$targetdir");
sub append {


print;