Chinaunix

标题: ==用find查找出当前目录下除hello.world以外的文件,怎么写?== [打印本页]

作者: 奋斗的毛毛虫    时间: 2008-05-14 14:51
提示: 作者被禁止或删除 内容自动屏蔽
作者: kenduest    时间: 2008-05-14 15:58
原帖由 奋斗的毛毛虫 于 2008-5-14 14:51 发表
用find查找出当前目录下除hello.world以外的文件,怎么写?不用管道。
我用find -name !hello.world -print,没有成功。

  1. find ! -name "hello.world"
复制代码


--
作者: 奋斗的毛毛虫    时间: 2008-05-14 18:55
提示: 作者被禁止或删除 内容自动屏蔽
作者: dingning239    时间: 2008-05-14 23:07
哈哈,加一个! 表示否




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2