Reputation: 467
I'm looking for a way to check whether a directory exits on a remote linux server from a windows machine. I'm a bit new to batch scripting, done mostly bash.
thanks
Upvotes: 0
Views: 655
Reputation: 547
example:
plink.exe -v -pw %Linux_PW% -P %SSHPORT_NO% %Linux_User%@%Linux_Machine% rm -rf %Target_Dir%/*
Upvotes: 0