Use KiBot compress to archive a entire folder #798
-
|
Good Day Im currently looking to compress the entire contents from a folder, pupulated by a few different steps in a KiBot worflow Specifically im looking to add the contents of a folder at './Panel_2x1/JLCPCB' to a zip file. The code im using is the folowing or or The resulting zip file is devoid of any contents, any advice is greatly appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @alextrical ! In the first and second example you don't specify any files. And KiBot informs it like this: You must pay attention to the warnings!! The third example might work ... as long as you really run it from the folder where You should check the files listing the files, i.e. using
You might also want to specify absolute paths during tests. |
Beta Was this translation helpful? Give feedback.

Hi @alextrical !
In the first and second example you don't specify any files. And KiBot informs it like this:
You must pay attention to the warnings!!
The third example might work ... as long as you really run it from the folder where
Panel_2x1/JLCPCB/is located.Note that you are asking for a ZIP file containing a folder named
sourcethat contains the files from./Panel_2x1/JLCPCB/and./JLCPCB/.You should check the files listing the files, i.e. using
ls. Assuming you are using the script from #797