find: 路径必须在表达式之前:

python@ubuntu:~/Desktop/test$ ls
11.txt 123.txt 12.txt 13.txt 223.txt 323.txt
python@ubuntu:~/Desktop/test$ find ./ -name 1*
find: 路径必须在表达式之前: 123.txt
用法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec|time] [path...] [expression]
python@ubuntu:~/Desktop/test$ ls
11.txt 123.txt 12.txt 13.txt 223.txt 323.txt
python@ubuntu:~/Desktop/test$ find . -name 1*
find: 路径必须在表达式之前: 123.txt
用法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec|time] [path...] [expression]
python@ubuntu:~/Desktop/test$ find -name 1*
find: 路径必须在表达式之前: 123.txt
用法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec|time] [path...] [expression]
python@ubuntu:~/Desktop/test$ find -name 1*
find: 路径必须在表达式之前: 123.txt
用法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec|time] [path...] [expression]
python@ubuntu:~/Desktop/test$ find . -name 1*
find: 路径必须在表达式之前: 123.txt
用法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec|time] [path...] [expression]
python@ubuntu:~/Desktop/test$ find ./ -name 1*
find: 路径必须在表达式之前: 123.txt
用法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec|time] [path...] [expression]
python@ubuntu:~/Desktop/test$ cd ..

解决方法:

 

posted @ 2018-08-02 11:24  BruceLong  阅读(765)  评论(0编辑  收藏  举报