Getting rid of old disk images.

Joined
May 20, 2011
Messages
3
Reaction score
0
Points
1
I created some password protected disk images but no longer need them. I deleted all the files in it but the image is still 18GB.

Does anyone know how I can delete the disk image and reallocate the 18GB to the rest of my computer?

Blake
 

RavingMac

Well-known member
Staff member
Moderator
Joined
Jan 7, 2008
Messages
8,303
Reaction score
242
Points
63
Location
In Denial
Your Mac's Specs
16Gb Mac Mini 2018, 15" MacBook Pro 2012 1 TB SSD
I created some password protected disk images but no longer need them. I deleted all the files in it but the image is still 18GB.

Does anyone know how I can delete the disk image and reallocate the 18GB to the rest of my computer?

Blake
I think all you have to do is put them in the trash and then empty the trash. It may require you to enter your password, but not sure about that.
 

RavingMac

Well-known member
Staff member
Moderator
Joined
Jan 7, 2008
Messages
8,303
Reaction score
242
Points
63
Location
In Denial
Your Mac's Specs
16Gb Mac Mini 2018, 15" MacBook Pro 2012 1 TB SSD
I tried that but it would not allow me to empty the trash.

There is a terminal command to force empty the trash. If you do a search you can probably find it because I've seen it in a thread recently.

The fact that it won't let you empty it may mean some active process is using a file in the trash

EDIT: Here are some links that may help

http://www.mac-forums.com/forums/os-x-applications-games/236859-cant-empty-trash-locked-files.html

http://www.ehow.com/how_8174_force-mac-trash.html
 

RavingMac

Well-known member
Staff member
Moderator
Joined
Jan 7, 2008
Messages
8,303
Reaction score
242
Points
63
Location
In Denial
Your Mac's Specs
16Gb Mac Mini 2018, 15" MacBook Pro 2012 1 TB SSD
What would this do to the 18GB partitioned to the disk image?

As I understand it this isn't a fixed partition, deleting the disk image should release the space.
 
Joined
Feb 14, 2004
Messages
4,781
Reaction score
166
Points
63
Location
Groves, Texas
A disk image is a file. Delete the file and you recover the space.
Make sure the image is unmounted before trying to delete it.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top