How to archive and download a directory with exclusions?

Advertisement

gba
Joined:
Posts:
3

How to archive and download a directory with exclusions?

Hi!
WinSCP provides me with a predefined command for archiving and downloading a whole directory.
What custom command would do the same plus the possibility to configure exclusions of files and subdirectories?
Thank you very much in advance for your help!
Kind regards,
Gerald

Reply with quote

Advertisement

gba
Joined:
Posts:
3

Re: How to archive and download a directory with exclusions?

martin wrote:

I assume you mean this extension:
https://winscp.net/eng/docs/extension_archive_and_download

We do not have a ready-made solution for what you ask for.

You will have to customize the commands in the extension.
See $archiveCommand variable.
Hi!
Thank you for that hint.
It gave me the right direction.
Now I could create my own extension based on the one you gave me the link to.
My own extension now gives the opportunity to add excludes to the zip or tar command.
Works great!
Kind regards,
Gerald

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum