note
Moron
untested Perl one liner:<code>
perl -e 'system "rm -rf $_" if ( -M $_ > 14 ) for ( glob "/var/backups/repository/DATE_*" );'
</code>
Note: this is a deliberately simplistic example. To optimise it to avoid shelling out (using either [cpan://File::Find] or putting the glob in a recursive subroutine) would require more Perl experience than OP suggests.<p>
Update: Newbies will particularly benefit from [http://www.oreilly.com/catalog/lperl3|Learning Perl, Third Edition -
Making Easy Things Easy and Hard Things Possible]
By [id://9073|Randal L. Schwartz] & Tom Phoenix.
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-493758">
<p>-M<p><i>Free your mind</i>
</div></div>
602128
602128