- 论坛徽章:
- 0
|
\r\n我用AIX 5L , 要删除3天以前的文件\r\n执行下面的命令怎么出错?\r\n\r\n# find sjournal -ctime +17 -print\r\nsjournal/20040625.001\r\nsjournal/20040626.001\r\nsjournal/20040627.001\r\nsjournal/20040628.001\r\n# find sjournal -ctime +18 -print\r\nsjournal/20040625.001\r\nsjournal/20040626.001\r\nsjournal/20040627.001\r\n# find sjournal -ctime +19 -print\r\nsjournal/20040625.001\r\nsjournal/20040626.001\r\n# find sjournal -ctime +19 -exec rm\r\nfind: 0652-018 An expression term lacks a required parameter.\r\n# find sjournal -ctime +19 -exec rm -f {}\r\nfind: 0652-018 An expression term lacks a required parameter.\r\n# find sjournal -ctime +19 -exec rm {}\r\nfind: 0652-018 An expression term lacks a required parameter.\r\n#\r\n# find sjournal -ctime +19 -exec rm {}\r\nfind: 0652-018 An expression term lacks a required parameter.\r\n\r\n\r\n请高手指教 |
|