y***a 发帖数: 840 | 1 /tmp/zp/F/ > ls -R
.:
xxxx yyy1 yyyy0
./xxxx:
11 22
./xxxx/11:
./xxxx/22:
222
./xxxx/22/222:
./xxxx/33:
./xxxx/44:
./yyy1:
f0
./yyyy0:
f3
我想把F目录里所有文件列出来, 其中xxxx中有11, 22, 33, 44 这四个目录。 我只
想要22中的。 用FIND命令搞不定:
》 find /tmp/zp/F/ -path "/tmp/zp/F/xxxx*" ! -path "/tmp/zp/F/xxxx/22*" -
prune -o -name "*" -print
/tmp/zp/F/
/tmp/zp/F/yyy1
/tmp/zp/F/yyy1/f0
/tmp/zp/F/yyyy0
/tmp/zp/F/yyyy0/f3
我本来想只搜进xxxx/22, 但是现在好像整个xxxx都被忽略了。哪边有问题? |
|
y***a 发帖数: 840 | 2 【 以下文字转载自 Linux 讨论区 】
发信人: yeeha (带茎番茄), 信区: Linux
标 题: 问个find的问题
发信站: BBS 未名空间站 (Fri Dec 13 03:11:07 2013, 美东)
/tmp/zp/F/ > ls -R
.:
xxxx yyy1 yyyy0
./xxxx:
11 22
./xxxx/11:
./xxxx/22:
222
./xxxx/22/222:
./xxxx/33:
./xxxx/44:
./yyy1:
f0
./yyyy0:
f3
我想把F目录里所有文件列出来, 其中xxxx中有11, 22, 33, 44 这四个目录。 我只
想要22中的。 用FIND命令搞不定:
》 find /tmp/zp/F/ -path "/tmp/zp/F/xxxx*" ! -path "/tmp/zp/F/xxxx/22*" -
prune -o -name "*" -print
/tmp/zp/F/
/tmp/zp/F/yyy1
/tmp/zp/F/yyy1/f0
/tmp/zp/F/yyyy0
/tmp/zp/F/yyyy0... 阅读全帖 |
|
g******e 发帖数: 313 | 3 这是我用的,我基本上都是找引用过我文章的人写推荐信的
Dear Dr. XXX
This is YYY from the University of ZZZ. I am currently working as a XXX at
the department of XXX. The purpose of writing this email to you is to ask a
big favor from you for your independent recommendation letter for my US
permanent residency application. I am writing to you because of your well-
known expertise in the area of AAA.
I was very impressed by your series publications about BBBB. I am also very
glad to know you've cited my research work several... 阅读全帖 |
|