⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vanexp

📁 UNIX下perl实现代码
💻
字号:
#!/usr/bin/perl# $RCSfile: vanexp,v $$Revision: 4.1 $$Date: 92/08/07 17:20:53 $# 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 {} \;`;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -