LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-10-2022, 05:16 AM   #1
Gollum21
LQ Newbie
 
Registered: Sep 2022
Location: Urbana, Illinios
Posts: 4

Rep: Reputation: 0
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 1.py file but not for numerous files in several directories.
 
Old 11-10-2022, 06:21 AM   #2
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,387
Blog Entries: 1

Rep: Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665
> I can make a dmg for a 1.py file

Well, how do you do it for a single file?
 
1 members found this post helpful.
Old 11-16-2022, 05:12 AM   #3
Gollum21
LQ Newbie
 
Registered: Sep 2022
Location: Urbana, Illinios
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by NevemTeve View Post
> I can make a dmg for a 1.py file

Well, how do you do it for a single file?
Well, I got my solution from a similar question on AskUbuntu. The process for creating one is described in the first answer.
 
Old 11-16-2022, 06:34 AM   #4
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,387
Blog Entries: 1

Rep: Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665Reputation: 1665
Well, if you can copy one file to the mount-directory, then you can copy multiple files as well.
 
  


Reply

Tags
python


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copy many files in to many directories Ave3 Linux - Newbie 7 02-13-2015 06:18 AM
how to convert dmg file to iso file on ubuntu 11.04 jack_green Ubuntu 4 10-06-2011 12:03 PM
burning *.dmg files kurrupt Linux - Software 4 05-25-2005 01:24 AM
what tha hell .dmg files?!? Y3k Linux - Newbie 1 06-04-2004 08:36 AM
can linux do anything with .dmg files? Mugatu Linux - Software 3 06-01-2004 08:44 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration