-path从字面上看给人一种错觉,好像只匹配路径名(或者目录名),其实它也可以匹配文件名,因此-wholename这个名字更贴切一些。 看看这个例子,当前目录下有一个phone目录,phone目录里有一个文件名称是puk.txt,使用-path: $ find . -path'*phone/pu*' ./phone/puk.txt 另外要提一点:使用-path的一般格式是:find ...
命令: find . -name"user*"-typed# 目标文件为directoryfind . -name"user*"-typef# 目标文件为regular filefind . -name"user*"-typel# 目标文件为symbolic link 说明: 无 5. -user, 按用户名查找 命令: find . -user root# 目标文件所属用户名为root 说明:无 6. -size, 按文件大小查找 命令: f...
When the-Loption is in effect, the-typepredicate will always match against the type of the file that a symbolic link points to rather than the link itself (unless the symbolic link is broken). Using-Lcauses the-lnameand-ilnamepredicates always to return false. -H Do not follow symbolic ...
The same as -type unless the file is a symbolic link. For symbolic links: if -follow has not been given, true if the file is a link to a file of typec; if -follow has been given, true ifcis `l'. In other words, for symbolic links, -xtype checks the type of the file that ...
link itself. File information of all symbolic links not on the command line is that of the link itself. -L Cause the file information and file type (see stat(2)) returned for each symbolic link to be those of the file referenced by the link, ...
$ find . -path '*phone/pu*' ./phone/puk.txt 另外要提一点:使用-path的一般格式是:find [path ...] -path pattern ... 它的意思是:在[path ...]部分指明的路径上,使用pattern匹配所有文件的完整文件名;而不是说在类似的pattern目录下查找文件。
When your script is a symbolic link (or symlink), usingdirname $0orrealpath $(dirname $0)might not give you the expected directory. Instead, they return the directory of the symlink. To get the directory of the actual script, you can usereadlinkwith the-foption. ...
Symbolic link l Directory d Character special device c Block device b Socket s FIFO p 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 2.6 根据访问、修改、创建时间查找文件 Print all the files that were accessed within the last seven days as follows:[最近...
(2)) returned for each symbolic link to be those of the link itself. This is the default. -X Permit find to be safely used in conjunction with xargs(1). If a file name contains any of the delimiting characters used by xargs(1), a diagnostic message is displayed on standard error, ...
@DenisBronx It is a symbolic link point to the anther directory. Please help to check if /data/app-lib/it.fortech.fotechmobilepayment contains the librealm-jni.so . That directory should have sub directories like x86 arm etc. Author DenisBronx commented Aug 25, 2015 @beeender it is empt...