|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 443 (0x1bb) Types: TextFile Names: »vanexp«
└─⟦4f9d7c866⟧ Bits:30007245 EUUGD6: Sikkerheds distributionen └─⟦b5330643c⟧ »./cops/perl-4.019/perl.tar.Z« └─⟦2b9a58213⟧ └─⟦this⟧ »perl-4.019/eg/van/vanexp«
#!/usr/bin/perl # $Header: vanexp,v 4.0 91/03/20 01:15:54 lwall Locked $ # This is for running from a find at night to expire old .deleteds $can = $ARGV[0]; exit 1 unless $can =~ /.deleted$/; ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime, $blksize,$blocks) = stat($can); exit 0 unless $size; if (time - $mtime > 2 * 24 * 60 * 60) { `/bin/rm -rf $can`; } else { `find $can -ctime +2 -exec rm -f {} \;`; }