将目录/backup下的文件按照时间删除,如:
-rw-r--r-- 1 root other 0 Mar 19 16:33 1
-rw-r--r-- 1 root other 0 Mar 19 16:34 2
-rw-r--r-- 1 root other 0 Mar 18 16:34 3
-rw-r--r-- 1 root other 0 Mar 18 16:34 4
想用一条命令将Mar 19的文件删除,应该如何写?
...全文
132打赏收藏
怎样将目录下的特定文件过滤出来后删除?
将目录/backup下的文件按照时间删除,如: -rw-r--r-- 1 root other 0 Mar 19 16:33 1 -rw-r--r-- 1 root other 0 Mar 19 16:34 2 -rw-r--r-- 1 root other 0 Mar 18 16:34 3 -rw-r--r-- 1 root other 0 Mar 18 16:34 4 想用一条命令将Mar 19的文件删除,应该如何写?