Goto Top

Adding many Python files and directories to a single dmg file

How can I make a single dmg file out of many Python files in different folders? I know that's doable for a single file, but how can I do it for several?
I can make a dmg for a file but not for numerous files in several directories.

Content-Key: 4574216585


Printed on: December 4, 2023 at 12:12 o'clock

Mitglied: 4400667902
Solution 4400667902 Nov 12, 2022 updated at 11:43:59 (UTC)
Goto Top

Note the files (complete folders are also possible) which should go into the DMG in
files = ['/path1/', '/path2/']  
Finally build the dmg
dmgbuild -s "Volume Name" output.dmg  
Member: SandeepKamra
SandeepKamra Nov 22, 2022 at 11:32:58 (UTC)
Goto Top
Thanks for sharing this, It really helped me!