1. 首页
  2. 数据库
  3. 其它
  4. 存在:用于测试文件是否存在的管道 源码

存在:用于测试文件是否存在的管道 源码

上传者: 2021-02-22 23:28:55上传 ZIP文件 3.38KB 热度 15次
存在 厌倦了执行xargs -I {} sh -c "[ -e \"{}\" ] && echo \"{}\""以在尝试编写脚本时检查文件是否存在。 它从标准输入接收路径,并打印任何存在的路径; 适用于文件,目录和链接。 安装 git clone https://github.com/seanbreckenridge/exists cd exists sudo make install 用法 Usage: exists [-v] [-h] Read filepaths from STDIN, prints ones that exist to STDOUT -h show list o
用户评论