How include to archive only content of directory?

Viktor August 18, 2015

Hi,

How include to archive only content of directory? Like 7-zip command 7z a archive.zip .\subdir\*

Same file pattern to include doesn't work in File - Create ZIP task.

3 answers

0 votes
Robin Gauß November 12, 2015

Thanks for the prompt reply. I also ended up using a script that is calling the 7zip.exe directly.

0 votes
Viktor November 12, 2015

Hello Robin, Task was to create NuGet package for Octopus deployment. Finally I used "nuget.exe pack <path to nuspec>" command for creating nuget packages.

0 votes
Robin Gauß November 12, 2015

Hello Viktor, have you been able to resolve this issue? I face the same problem.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events