appleboy / drone-scp

Copy files and artifacts via SSH using a binary, docker or Drone CI.
MIT License
142 stars 29 forks source link

feat(tar): add unlink-first flag #141

Closed teutat3s closed 1 year ago

teutat3s commented 1 year ago

Adds option to unlink symlinks first before extracting with tar, the existing overwrite option doesn't work with symlinks.

from man tar

       -U, --unlink-first
              Remove each file prior to extracting over it.