0
Cleaning up files
Posted by admin on Jul 21, 2009 in perl
This is a quick perl one liner to delete files older than 3 days map { unlink $_ if -M > 3 } glob (“old_path/*.bak”);
Making software that works
This is a quick perl one liner to delete files older than 3 days map { unlink $_ if -M > 3 } glob (“old_path/*.bak”);
Copyright © 2008-2010 Brinsmead Data Services All rights reserved.