Closed cbednarski closed 1 month ago
@povsister Thanks for sharing the scp lib. It's really made my life easier, and it's impressively fast!
I've submitted a small PR here for your consideration. Please let me know if you'd like any changes.
Cheers, and thanks for your time!
I am busy with work recently, sorry for the delay of response.
It looks really great! and I am glad to accept it as a new feature. I will merge this PR first, it would be better if you add some instructions on the README later.
Thanks for your contribution!
Normally, copying a directory also creates a directory with the same name on the target side of the transfer. For example:
If we don't want to create a new directory on the target side we can use a glob after the source, indicating an scp operation for each file or folder inside:
When ContentOnly is true, creation of the source directory on the target side is skipped and the contents are copied into the existing directory instead, using a single connection and job queue.