更新时间:2022-02-02 00:49:03
这是一个班轮:
ssh armand@127.0.0.1 '[ -d Documents ] && echo exists || echo does not exist'
使用ssh检查目录在远程计算机上是否存在
使用WinScp检查远程服务器中是否存在文件夹/目录
使用 paramiko 检查远程主机上是否存在路径