6

I am using 7zip with this command

tools/7zip/7z.exe a publish/Site.zip publish/Site/*

When I do this, 7zip creates a zip file with a publish folder then a Site folder and then my files.

I'd like that the contents of my Site folder to be the root of my zip file.

How can I do that?

Pylsa
  • 31,004
thitemple
  • 173

1 Answers1

4

Try these commands:

cd publish/Site
tools/7zip/7z.exe a Site.zip *

It will navigate you to the dir you want to 7zip and then adds all the files in it.

Pylsa
  • 31,004