Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • or initially with for Q in *;do H=${Q%%.*};zip "${H}.zip" images "$Q";done Commented Feb 11, 2019 at 16:01
  • That also works, Jeff Schaller. The way that Animate CC publishes canvas files, is that there is only an images folder, if there are bitmaps. Commented Feb 11, 2019 at 16:20
  • Actually I spoke too soon. for Q in ;do H=${Q%%.};zip "${H}.zip" images "$Q";done moves the html and js file to a newly created images folder in the zip, breaking the path to the bitmap in the images folder. Commented Mar 7, 2019 at 15:12
  • @SusanForman Please edit your question to show an example which files and folders you originally have, what should be the contents of the ZIP file(s) and how the ZIP file(s) should be named. Commented Mar 11, 2019 at 13:35
  • Done. Thanks for the solution Bodo. Being a 2 part command in Terminal is actually ideal, as Animate CC only creates an image folder if there are imported bitmaps. All vector Animate content, no images folder. Commented Mar 12, 2019 at 15:12