ftp-deploy icon indicating copy to clipboard operation
ftp-deploy copied to clipboard

Add possibility to ignore files e.g. .htaccess or files that need to stay

Open a-tonchev opened this issue 1 year ago • 3 comments

a-tonchev avatar May 11 '23 14:05 a-tonchev

These PR requires an explanation of what it is trying to do, and it also needs more information in the README

simonh1000 avatar May 13 '23 06:05 simonh1000

@simonh1000 This PR makes it possible to preserve files on the server (and not remove them), e.g.:

config = { preserve: [".htaccess", "/keepThisDirectory", "/toKeepDirectory/keepFile"] }

This will remove everything else than the files and directories included in "preserve"

a-tonchev avatar May 17 '23 12:05 a-tonchev

Will this be merged soon or is there need of anything else?

a-tonchev avatar Dec 18 '23 10:12 a-tonchev