linux按指定时间删除文件和文件夹0
[root@oracledb tmp]# ll -rt total 5004 -rw-r--r-- 1 root root 102912 Oct 25 2011 orabbixw.exe -rw-r--r-- 1 root root 74240 Oct 25 2011 orabbix.exe -rw-r--r-- 1 root root 26 Oct 25 2011 uninstall.cmd -rw-r--r-- 1 root root ... cmd
drwxr-xr-x 2 root root 4096 Oct 25 2011 init.bat
-rw-r--r-- 1 root root 34090 Oct 25 2011 orabbix-1.2.3.jar
-rw-r--r-- 1 root root 809 Oct 25 2011 install:31 template
drwxr-xr-x 2 root root 4096 Mar 1 11.exe
-rw-r--r-- 1 root root 26 Oct 25 2011 uninstall.cmd
-rw-r--r-- 1 root root 221 Oct 25 2011 run:31 doc
drwxr-xr-x 2 root root 4096 Mar 1 11:31 lib
drwxr-xr-x 2 root root 4096 Mar 1 11:50 orabbix-1.2.3.zip
drwxr-xr-x 2 root root 4096 Mar 1 11:13 orabbix
drwxr-xr-x 2 root root 4096 Mar 1 11。我要删除“Oct 25 2011”的文件和文件夹.sh
-rw-r--r-- 1 root root 350 Oct 25 2011 run[root@oracledb tmp]# ll -rt
total 5004
-rw-r--r-- 1 root root 102912 Oct 25 2011 orabbixw.exe
-rw-r--r-- 1 root root 74240 Oct 25 2011 orabbix,请大神赐教.d
-rw-r--r-- 1 root root 4858160 Mar 1 10:31 conf
如上所示 展开