alexa-samples / skill-sample-python-fact

An Alexa Skill Sample showing how to build a fact skill in Python.
Other
120 stars 154 forks source link

Zip only contents of folder (in WIndows) #12

Closed vj68 closed 5 years ago

vj68 commented 5 years ago

Zip the contents of the skill_env folder. Remember to zip the contents of the folder and NOT the folder itself.

How do i do this? In windows? Because when I zip it, the whole directory is zipped to give skill_env.zip

vj68 commented 5 years ago

for any one facing this issue in windows, you can use : jar -cMf targetArchive.zip sourceDirectory In place of sourceDirectory,you can specify "*"

franklin-lobb commented 5 years ago

In Windows I'll use the Explorer and highlight the all contents from within the folder (not the folder itself), right-click and choose Send To > Compressed (zipped) Folder. It'll create a zip file within the source folder I'm compressing, typically names after the first file I highlighted.

franklin-lobb commented 5 years ago

closing due to age