zoukankan      html  css  js  c++  java
  • 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 ..

    解决方法:

  • 相关阅读:
    Scripts.Render 索引超出了数组界限
    AutoFac使用方法总结
    MFC中打开一个获取路径的对话框
    MFC中自定义消息
    获得窗口句柄的方法
    App Doc View Frame中指针的获取
    MFC中菜单的命令响应顺序
    机械设计软件编写心得
    对SVD奇异值分解的理解
    安装win8+Ubuntu14.04双系统的经验总结
  • 原文地址:https://www.cnblogs.com/yunlongaimeng/p/9406109.html
Copyright © 2011-2022 走看看