Limbic~Region has asked for the wisdom of the Perl Monks concerning the following question:
Any and all help would be appreciated as the folks downstream have begun 24X7 coverage.
Here is what I started using - thanks to everyone in the CB
#!/usr/bin/ksh while : do cd <dir> perl -0777 -ne '$foo=s/\0{30}\t\0\0\(\0//g;rename $ARGV,"../capture/ +n ested/$ARGV" if ($foo >= 10)' di* sleep 3 done
The problem with this is that it doesn't provide for an exception list.
Thanks in advance,
Limbic~Region
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Hitting a moving target (transient files)
by tye (Sage) on Dec 18, 2002 at 20:03 UTC | |
|
Re: Hitting a moving target (transient files)
by waswas-fng (Curate) on Dec 18, 2002 at 19:55 UTC | |
|
Re: Hitting a moving target (transient files)
by talexb (Chancellor) on Dec 18, 2002 at 19:59 UTC | |
|
Re: Hitting a moving target (transient files)
by Limbic~Region (Chancellor) on Dec 18, 2002 at 22:44 UTC | |
by tye (Sage) on Dec 18, 2002 at 23:17 UTC |