Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'One way to avoid keeping DMG files after installation' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
One way to avoid keeping DMG files after installation
Authored by: luomat on Jan 11, '08 09:52:42AM

Easier solution:

Move the DMG to /tmp/ before opening it. Then forget about it.

Files in /tmp/ get deleted on reboot.

If you decide you want to keep it, move it back to your Downloads directory or wherever you want it.




[ Reply to This | # ]
One way to avoid keeping DMG files after installation
Authored by: morespace54 on Jan 11, '08 11:17:29AM

Great Idea!

So the cmd whould be:
mv '/Users/MyShortUsername/Path/To/MyDownloaded.dmg' '/private/tmp/'

Obviously, you must replace 'MyShortUserName' with your correct username , replace 'Path/To/' with the correct path to your dmg file and finally replace 'MyDownloaded.dmg' with the correct name of your dmg file.
If you don't use the quotes for the source path and the destination path, just remember to escape the spaces in the paths with backslash! ('\')



[ Reply to This | # ]
Just /tmp
Authored by: SeanAhern on Jan 11, '08 04:13:44PM

You know, you don't have to use /private/tmp. Just /tmp will do. In fact, it's preferred to use /tmp.



[ Reply to This | # ]