int128 / gradle-ssh-plugin

Gradle SSH Plugin
https://gradle-ssh-plugin.github.io
Apache License 2.0
318 stars 60 forks source link

Scp folder task #319

Open dprutean opened 5 years ago

dprutean commented 5 years ago

I want to copy all files from a folder /src into the folder /dest on server. If I do ssh.run { session(remotes.webServer) { put from: "src/", into: 'dest/' } }

I get in destination dest/src/myfiles. How may I copy them ? Should be this a feature ?