LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 697|回复: 1

Find命令的问题

[复制链接]
发表于 2005-6-9 15:34:21 | 显示全部楼层 |阅读模式
我想在当前所有的文件
有没有办法能让Find命令不查找指定的目录下的文件
简单来说跳过这个目录
谢谢
发表于 2005-6-9 16:41:48 | 显示全部楼层
  1. find /your_dir_want_to_be_found -path "/your_dir_want_to_jump" -prune -o -print -name "your_file_want_to_find"
复制代码

use search in the forum and man command in your linux, you will learn more
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表