免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2976 | 回复: 6

find -follow选项是什么意思,man不明白。 [复制链接]

论坛徽章:
0
发表于 2009-09-23 09:54 |显示全部楼层
比如
    find . -follow -name \.svn -prune -o \

        -type f ! \( -name '*~' -o -name '.*~' \) ! -name '.*sw[p-z]' -print
这句话啥意思。

论坛徽章:
33
ChinaUnix元老
日期:2015-02-02 08:55:39CU十四周年纪念徽章
日期:2019-08-20 08:30:3720周年集字徽章-周	
日期:2020-10-28 14:13:3020周年集字徽章-20	
日期:2020-10-28 14:04:3019周年集字徽章-CU
日期:2019-09-08 23:26:2519周年集字徽章-19
日期:2019-08-27 13:31:262016科比退役纪念章
日期:2022-04-24 14:33:24
发表于 2009-09-23 10:19 |显示全部楼层

论坛徽章:
5
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:50:282015年亚洲杯之朝鲜
日期:2015-03-13 22:47:33IT运维版块每日发帖之星
日期:2016-01-09 06:20:00IT运维版块每周发帖之星
日期:2016-03-07 16:27:44
发表于 2009-09-23 10:22 |显示全部楼层
跟随符号链接

论坛徽章:
0
发表于 2009-09-23 10:22 |显示全部楼层
-follow
              Deprecated; use the -L option instead.  Dereference symbolic links.  Implies -noleaf.  The  -follow  option  affects  only  
              hose  tests  which  appear  after  it  on the command line.  Unless the -H or -L option has been specified, the position of the
              -follow  option changes the behaviour of the -newer predicate; any files listed as the argument of -newer will be
              dereferenced if they are  symbolic links.  The same consideration applies to -anewer and -cnewer.  Similarly, the -type
              predicate will always match against  the type of the file that a symbolic link points to rather than the link itself.  Using -follow
              causes  the  -lname  and  -ilname  predicates always to return false.

论坛徽章:
0
发表于 2009-09-23 23:42 |显示全部楼层
这样的问题一般是先问3楼

论坛徽章:
0
发表于 2009-09-24 09:05 |显示全部楼层

回复 #3 blackold 的帖子

黑哥你看大家都好崇拜你的。。。
这么多粉丝。赶紧开个什么演唱会吧

论坛徽章:
5
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:50:282015年亚洲杯之朝鲜
日期:2015-03-13 22:47:33IT运维版块每日发帖之星
日期:2016-01-09 06:20:00IT运维版块每周发帖之星
日期:2016-03-07 16:27:44
发表于 2009-09-24 09:35 |显示全部楼层

回复 #6 lucash 的帖子

经常被忽悠!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP