Re: Email Mac

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45580
interpreted = N
texte = Dale - I have a script that runs each night from cron as follows:#!/bin/shcd /Library/WebServer/CGI-Executables/WebCatalogEngine mv EmailCompleted EmailCompleted.old mkdir EmailCompleted chown www:ftpguest * chmod 770 EmailCompleted rm -R EmailCompleted.oldThis will remove the folder even if there are 20000 emails in there ..Alain> Mike, > > On Wednesday, November 20, 2002, at 03:26 AM, Michael Davis wrote: > > [snip] > >> Speaking of this problems with Emailer on OS X... I've got too many files >> in my EmailCompleted folder. rm * will not delete them. It reports /bin/ >> rm: Argument list too long. >> How do I delete all these files? > > do an ls to see what the filenames begin with, then you have the fun of > doing (for example) > > rm 1023* -f > rm 1024* -f > rm 1025* -f > > and so on. I find that if you have a full range of numbers from one to nine > as the last digit, you usually have to remove about 6 of them before you > can drop a number > rm 102* -f > > to get the rest of them. > > Best bet is to create a trigger to clean up that folder. I moved from MacOS > 9.x to Linux and never thought about this until 1 month later when I had > about 70,000 or so files in there :) > >> Mike > > Dale > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Email Mac (Alain Russell 2002)
  2. Re: Email Mac (dale's stuff 2002)
  3. Re: Email Mac (Michael Davis 2002)
  4. Re: Email Mac (Karl Schroll 2002)
  5. Re: Email Mac (Donovan Brooke 2002)
  6. Re: Email Mac (Michael Davis 2002)
  7. Re: Email Mac (dale's stuff 2002)
  8. Re: Email Mac (Donovan 2002)
  9. Re: Email Mac (dale's stuff 2002)
  10. Re: Email Mac (Karl Schroll 2002)
  11. Email Mac (Donovan 2002)
Dale - I have a script that runs each night from cron as follows:#!/bin/shcd /Library/WebServer/CGI-Executables/WebCatalogEngine mv EmailCompleted EmailCompleted.old mkdir EmailCompleted chown www:ftpguest * chmod 770 EmailCompleted rm -R EmailCompleted.oldThis will remove the folder even if there are 20000 emails in there ..Alain> Mike, > > On Wednesday, November 20, 2002, at 03:26 AM, Michael Davis wrote: > > [snip] > >> Speaking of this problems with Emailer on OS X... I've got too many files >> in my EmailCompleted folder. rm * will not delete them. It reports /bin/ >> rm: Argument list too long. >> How do I delete all these files? > > do an ls to see what the filenames begin with, then you have the fun of > doing (for example) > > rm 1023* -f > rm 1024* -f > rm 1025* -f > > and so on. I find that if you have a full range of numbers from one to nine > as the last digit, you usually have to remove about 6 of them before you > can drop a number > rm 102* -f > > to get the rest of them. > > Best bet is to create a trigger to clean up that folder. I moved from MacOS > 9.x to Linux and never thought about this until 1 month later when I had > about 70,000 or so files in there :) > >> Mike > > Dale > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Alain Russell

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Who is doing sign-ups (1998) keep W* in front applescript? (1998) Jimmy Houssen (1998) Merging databases (1997) interesting (2003) [FoundItems] solved - thanks (1997) Date/Time format problems (1997) Supressing Error Messages (1998) RE:It just Does't add up!!! (1997) [sendmail] questions... (1997) [OT] (waaaay OT) (2004) [WebDNA] Help with Tables (2008) WebCat2 as a chat server? (1997) [Sum] function? (1997) RE: SSL and WebCatalog (1997) Problems getting parameters passed into email. (1997) calculating tax rates, mail order solutions and version 2 (1997) WebMerchant - fixed, now trigger question... (1999) WebCat2 - [format thousands] (1997) Paths, relative paths, webstar server setup and security (Mac) (1997)