drone-scp icon indicating copy to clipboard operation
drone-scp copied to clipboard

Support following symbolic links

Open bibekg opened this issue 4 years ago • 1 comments

I have a use case where some of the files I want to SCP over are symbolic links. Since this plugin uses the tar command to package up the source files before transferring, the symlinks stay symlinks when they reach the destination. However tar supports following symlinks by passing the -h option. Perhaps this plugin could add a Boolean parameter (follow_symlink) that supplies the -h option to tar.

Or, a more generally useful although possibly dangerous solution might be to have a param that lets a consumer specify any options to tar they wish

bibekg avatar Apr 28 '20 02:04 bibekg

up, any news?

theonedemon avatar Jul 05 '21 13:07 theonedemon

I will take it.

appleboy avatar Apr 09 '23 05:04 appleboy