Sponsored Content
Top Forums Shell Programming and Scripting Need a script for automatically cleaning up /var/spool/cups directory Post 302896576 by CarloM on Tuesday 8th of April 2014 07:26:22 AM
Old 04-08-2014
Use find.

e.g. something like:
Code:
find /var/spool/cups -type f -mtime +14 -print0 | xargs -r0 echo rm

(remove the echo when you're sure it's finding the right files to remove)
This User Gave Thanks to CarloM For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/var/spool/mqueue !!!

I keep having this msg on my SunOS console : Jun 29 08:57:40 bersimis sendmail: NOQUEUE: low on space (have 0, SMTP-DAEMON needs 101 in /var/spool/mqueue) I tried to make some space by deleting the files in it, but the msg came back ... Any tips ? Thanks (3 Replies)
Discussion started by: Wingman21
3 Replies

2. UNIX for Dummies Questions & Answers

Sendmail /VAR/SPOOL/MAIL

Hi, First Question: In our company our users have their mailboxes in /var/spool/mail When I look at the users file it seems as if every email sent/received is in that user file! Is this because IMAP is being used or is that just how sendmail works? Second Question: How is that when I create... (3 Replies)
Discussion started by: mojoman
3 Replies

3. UNIX for Dummies Questions & Answers

/var/spool/mail

Hi, How can i get my mail on either /var/spool/mail or /var/mail? I use mail and sendmail command to send mail. But everytime I send mail it comes to my outlook inbox and when I check with mail command I get the message "No mail for siba". (Note siba is my user Id.) (2 Replies)
Discussion started by: siba.s.nayak
2 Replies

4. UNIX for Advanced & Expert Users

Mail going to /var/spool/mqueue instead of being sent

Hello, I have a bunch of cron jobs in the crontab. For some reason mail from the cron jobs started going to /var/spool/mqueue instead of being sent. Does anyone know why mail from cron jobs would go to the queue instead of being sent? (9 Replies)
Discussion started by: xadamz23
9 Replies

5. Solaris

Solaris 9, /var/spool/clientmqueue/

Hi, We have some 2-3 Solaris 9 servers with the following issue. For every cron job which has email notifications, it is sending the emails, but it create files at /var/spool/clientmqueue/ which has similar contents. " V6 T1271362260 K1271362260 N1 P30359 MDeferred: Connection refused... (1 Reply)
Discussion started by: uxadmin007
1 Replies

6. Solaris

Cleaning out /var/sadm/patch after Live Upgrade

I recently upgraded my OS to Solaris 10 10/09 from Solaris 10 06/06 using Live Upgrade. I wanted to clean up space in /var/sadm/patch. I'm assuming the server is now clean with a fresh version of Solaris 10 10/09. Can I safely remove everything in /var/sadm/patch? Thanks, jeremy (0 Replies)
Discussion started by: griff11
0 Replies

7. Solaris

/var/spool/clientmqueue

Hi, solaris : 9 can we delete the files from this location /var/spool/clientmqueue . I found around 40K files lying in this location. Regards (1 Reply)
Discussion started by: maooah
1 Replies

8. AIX

/var/spool/mail/ issues

Hi My box is running with AIX 6100-06 and Im the root user of this box My /var gets filled up often to 100% When I investigate I find that it is the below file which increases rapidly /var/spool/mail/pdgadmin I dont know why this file is growing up. Can any one assist me on this.... (2 Replies)
Discussion started by: samsungsamsung
2 Replies

9. Solaris

/var/spool/mqueue issue

Hi guys . I have a solaris machine serving as a DNS server for my environment. Everytime I go into /var/spool/mqueue , there are an aweful lot of emails with names likes: qfqB6ChrpL006644. When I cat the file , I get the following output: H??Received: from machine.domain.com... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies
cups-browsed(8) 														   cups-browsed(8)

NAME
cups-browsed - A daemon for browsing the Bonjour broadcasts of shared, remote CUPS printers SYNOPSIS
cups-browsed [-v | -d | --debug] DESCRIPTION
cups-browsed has three independently switchable functions: 1. Browse Bonjour broadcasts of remote printers and create/remove local raw queues pointing to these printers. 2. Browse CUPS broadcasts of remote printers and create/remove local raw queues pointing to these printers. 3. Broadcast local queues with the CUPS protocol. OPTIONS
-v, -d, --debug Debug mode FILES
/etc/cups/cups-browsed.conf NOTES
Please take references to cups 1.6.x to include newer versions. Similarily, cups 1.5.x is intended to encompass older versions too. In environments with only cups 1.6.x servers and clients (plus cups-browsed on either server or client or both) the function described in 1. enables the automatic discovery of remote queues and their display in printing dialogues of applications and with command line tools. The facility provided by 3. means that servers running cups 1.6.x plus cups-browsed can broadcast their local queues so that clients with cups 1.5.x get these queues automatically available. The outcome of 2. is that clients running cups 1.6.x plus cups-browsed can use the CUPS broadcasts from servers with cups 1.5.x. As with browsing of Bonjour broadcasts, the created local raw queues are available to appli- cations and command line tools. SEE ALSO
cups-browsed.conf(5) /usr/share/doc/cups-filters/README AUTHOR
The authors of cups-browsed are listed in /usr/share/doc/cups-filters/AUTHORS. This manual page was written for the Debian Project, but it may be used by others. 29 June 2013 cups-browsed(8)
All times are GMT -4. The time now is 01:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy