原帖由 \"mxin\" 发表:\ncd ??\r\n察看\r\n find . -mtime +180 ! -type d-exec ls -dl {} \\;\r\n删除\r\n find . -mtime +180 ! -type d -exec rm {} \\;\r\n移动\r\n mkdir oldfiles\r\n find . -mtime +180 ! -type d -exec mv {} /o..........
原帖由 \"mxin\" 发表:\n\\;是结束符必须连着写,\r\nman find
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |