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

时间:2021-02-15 09:34:13
【文件属性】:
文件名称:存在:用于测试文件是否存在的管道
文件大小:3KB
文件格式:ZIP
更新时间:2021-02-15 09:34:13
cli file pipes C 存在 厌倦了执行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 of command-line options -v inverts output, prints filenames that don't exist 例子 $ ls exists exist
【文件预览】:
exists-master
----exists.c(1KB)
----LICENSE(1KB)
----.gitignore(590B)
----Makefile(218B)
----README.md(836B)
----exists.1(482B)

网友评论