In the article " Learn Linux, 101: File and directory management," you learn how to use the find command to find files by name, modification time, size, or other characteristics.
文件和目录管理” 中,您学习例如如何使用find命令根据名称、修改时间、大小或其他特征查找文件。
If you're trying to find a file by name, try locate instead of find -name.
如果您打算根据名称来查找一个文件,那么可以尝试使用locate来代替find - name。
To preserve an entire file name (remember, UNIX arguments are separated by white space), be sure to use find -print0 and its companion, xargs -0.
为了保持完整的文件名(请记住,UNIX参数以空格分隔),一定要使用find - print0和xargs - 0。
To preserve an entire file name (remember, UNIX arguments are separated by white space), be sure to use find -print0 and its companion, xargs -0.
为了保持完整的文件名(请记住,UNIX参数以空格分隔),一定要使用find - print0和xargs - 0。
应用推荐