github-action-scp icon indicating copy to clipboard operation
github-action-scp copied to clipboard

Allow zipping directories before transfer

Open siddharthvp opened this issue 5 years ago • 0 comments

While transferring directories, this tool appears to sending each file individually – this is very slow for directories with a large number of files. By zipping the directory before transfer and unzipping it on the remote host afterwards, I was able to optimise the workflow from about 5 minutes to just 50 seconds on a directory with about 270 files.

This was done by combining this action with github-action-ssh for the subsequent unzip (see workflow file). It would be great if the functionality can be offered as part of this action.

siddharthvp avatar Feb 18 '21 18:02 siddharthvp