Claiming back GB

Apple products and Mac operating systems. Including discussions on Virtual PC for Mac, Parallels Desktop for Mac, all Apple hardware and everything relating to Mac!
(MacCentre701)

Moderator: Mandrake

Claiming back GB

Postby trevor2005 » Sat 04 Mar, 2006 6:10 am

Hello.

How can I safely claim back 11GB of space which my computer is storing data worth 11GB in

/private/var/spool/cups/tmp

I want to do this by using Terminal program on my PowerMacOSX 10.3.9 but I want to be able to print ok once I have done this (usually I mess up my settings and affetc my RIP iProof Xsoftware)

Any ideas?

Trevor
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
trevor2005
senior member
senior member
 
Posts: 83
Joined: Sun 22 May, 2005 12:38 pm

Postby Don_HH2K » Sat 04 Mar, 2006 10:10 am

On most UNIXes such as Mac OS, a ./tmp folder would indicate temporary files, and in your case, it looks like temporary print spooler documents from CUPS (which handles printing on OS X). You should safely be able to delete those files by typing the following commands into Terminal (one at a time):

Code: Select all
rm -r /private/var/spool/cups/tmp/*
rm -r /private/var/spool/cups/tmp/.*


If you aren't logged in as root, you may need to add [tt]sudo[/tt] before those two commands (or, of course, you could just log in as root). You need to have at least administrator privelages to run [tt]sudo[/tt] if I'm not mistaken.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 Donzilla/1.1PR1 (WML/1.3)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Re: Claiming back GB

Postby Antony » Sat 04 Mar, 2006 10:20 am

trevor2005 wrote:Hello.

How can I safely claim back 11GB of space which my computer is storing data worth 11GB in

/private/var/spool/cups/tmp

I want to do this by using Terminal program on my PowerMacOSX 10.3.9 but I want to be able to print ok once I have done this (usually I mess up my settings and affetc my RIP iProof Xsoftware)

Any ideas?

Trevor
Trevor, I've mentioned the method in [sdt=8984]this thread[/sdt] a few times. I even tested the methods (including using Cocktail) myself, please follow [sdt=8984]this thread[/sdt].
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8
User avatar
Antony
diamond member
diamond member
 
Posts: 14509
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Disk Full Problems

Postby trevor2005 » Sat 04 Mar, 2006 12:01 pm

Don

Thank you for the advice,it didn't work!

I launched Terminal and put in code:
rm -r /private/var/spool/cups/tmp/*
it read Permission denied
I tried with
sudo rm -r /private/var/spool/cups/tmp/*
No such file or directory

What to do now now?

Anthony
That link you said to follow has all my unsuccessful tries and frustrations thta is why I want to start all over again with a simple straightforward solution–this is driving me crazy!!!

Please can anyone help me retrieve 11GB of data back from
/private/var/spool/cups/tmp/ using Terminal safely so my print optins and set-up stay the same and working.

Trevor
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
trevor2005
senior member
senior member
 
Posts: 83
Joined: Sun 22 May, 2005 12:38 pm

Postby Don_HH2K » Sat 04 Mar, 2006 12:06 pm

Did you try [tt]sudo rm -r /private/var/spool/cups/tmp/.*[/tt] as well, and get the same result?
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 Donzilla/1.1PR1 (WML/1.3)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Disk Full Problem

Postby trevor2005 » Sat 04 Mar, 2006 12:26 pm

Don

Hi there, I really do appreciate you trying to help.

Yes I tried
sudo rm -r /private/var/spool/cups/tmp/.*

and it read
No such file or directory

Trevor
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
trevor2005
senior member
senior member
 
Posts: 83
Joined: Sun 22 May, 2005 12:38 pm

Postby Don_HH2K » Sat 04 Mar, 2006 12:51 pm

Could you try running [tt]sudo ls /private/var/spool/cups/tmp[/tt], and see if you get anything?
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 Donzilla/1.1PR1 (WML/1.3)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Disk Full Problem

Postby trevor2005 » Sat 04 Mar, 2006 1:00 pm

Don

Hi again.

Tried
sudo ls /private/var/spool/cups/tmp

it came up a long list of numbers and letters–what are they?
Trevor
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
trevor2005
senior member
senior member
 
Posts: 83
Joined: Sun 22 May, 2005 12:38 pm

Postby Don_HH2K » Sat 04 Mar, 2006 1:14 pm

Then there are files in that directory, though for some reason [tt]rm[/tt] is apparently saying that you don't. I don't know the reasons for this, since executing [tt]rm -r *[/tt] should wipe everything (and [tt]rm -r .*[/tt] would wipe hidden files).

From the looks of things I'd go along with Antony's suggestion and give Cocktail a try.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 Donzilla/1.1PR1 (WML/1.3)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Disk Full Problem

Postby trevor2005 » Sat 04 Mar, 2006 8:00 pm

Don

Thank you for your reply.

I have used Terminal to retrieve my GB before but I messed up my print settings.

My Coctail needs me to register (which I thought I did) so not a;; of it works.

Trevor
UserAgent: Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)
trevor2005
senior member
senior member
 
Posts: 83
Joined: Sun 22 May, 2005 12:38 pm

Re: Disk Full Problems

Postby Antony » Sat 04 Mar, 2006 8:02 pm

trevor2005 wrote:Anthony
That link you said to follow has all my unsuccessful tries and frustrations thta is why I want to start all over again with a simple straightforward solution–this is driving me crazy!!!
Didn't you say that you [sdp=57748]successfully fixed[/sdp] it (once) in that thread?

trevor2005 wrote:Please can anyone help me retrieve 11GB of data back from
/private/var/spool/cups/tmp/ using Terminal safely so my print optins and set-up stay the same and working.

Trevor
I am pretty sure the methods people give you would be more or less to the one I gave you already.

So exactly, which part of my post in [sdt=8984]that thread[/sdt] you don't understand or you can't follow?
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8
User avatar
Antony
diamond member
diamond member
 
Posts: 14509
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Postby Antony » Sat 04 Mar, 2006 8:37 pm

Try
Code: Select all
du -h /private

and tell us which folder used the most space.
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8
User avatar
Antony
diamond member
diamond member
 
Posts: 14509
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia


Return to Mac OS and Apple

Who is online

Registered users: Google [Bot], Yahoo [Bot]