Re: WebSTAR, OSX, WebDNA permissions problem ...

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61409
interpreted = N
texte = Nitai @ ComputerOil wrote: > Currently we are just having major problems with WebStar. Now looking > into this issue for hours we found that the folder WebServer within > 4DWebStar has another folder calles WSWebStar.prefs.xml_backup. > Within this folder are thousands of files, filling up the HD. Great. > Even the shell chokes on removing these files.... > That's why you don't use the shell to do that sort of thing. This will do what you want much better[1]: find /path/to/WSWebStar.prefs.xml_backup -exec rm \{} \; or you can use this ls /path/to/WSWebStar.prefs.xml_backup | xargs rm to do pretty much the same thing. Learning to use "find" is an important step on the way to becoming a proficient *nix admin. You can even limit the files that "find" will return based on date, for example: find -mtime +3 /path/to/WSWebStar.prefs.xml_backup -exec rm \{} \; would delete files which were last modified greater than 3*24 hours ago. John 1. Don't run random commands that some idiot ;-) on a listserv sends you without understanding what it does! Always replace destructive commands with non-destructive commands to test, before executing. -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: WebSTAR, OSX, WebDNA permissions problem ... ( devaulw@onebox.com 2005)
  2. Re: WebSTAR, OSX, WebDNA permissions problem ... ( devaulw@onebox.com 2005)
  3. Re: WebSTAR, OSX, WebDNA permissions problem ... ( John Peacock 2005)
  4. Re: WebSTAR, OSX, WebDNA permissions problem ... ( "Nitai @ ComputerOil" 2005)
  5. Re: WebSTAR, OSX, WebDNA permissions problem ... ( Jesse Proudman 2005)
  6. Re: WebSTAR, OSX, WebDNA permissions problem ... ( "Nitai @ ComputerOil" 2005)
  7. Re: WebSTAR, OSX, WebDNA permissions problem ... ( Jesse Proudman 2005)
  8. Re: WebSTAR, OSX, WebDNA permissions problem ... ( "Nitai @ ComputerOil" 2005)
  9. Re: WebSTAR, OSX, WebDNA permissions problem ... ( charles kline 2005)
  10. WebSTAR, OSX, WebDNA permissions problem ... ( Kenneth Grome 2005)
Nitai @ ComputerOil wrote: > Currently we are just having major problems with WebStar. Now looking > into this issue for hours we found that the folder WebServer within > 4DWebStar has another folder calles WSWebStar.prefs.xml_backup. > Within this folder are thousands of files, filling up the HD. Great. > Even the shell chokes on removing these files.... > That's why you don't use the shell to do that sort of thing. This will do what you want much better[1]: find /path/to/WSWebStar.prefs.xml_backup -exec rm \{} \; or you can use this ls /path/to/WSWebStar.prefs.xml_backup | xargs rm to do pretty much the same thing. Learning to use "find" is an important step on the way to becoming a proficient *nix admin. You can even limit the files that "find" will return based on date, for example: find -mtime +3 /path/to/WSWebStar.prefs.xml_backup -exec rm \{} \; would delete files which were last modified greater than 3*24 hours ago. John 1. Don't run random commands that some idiot ;-) on a listserv sends you without understanding what it does! Always replace destructive commands with non-destructive commands to test, before executing. -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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://webdna.smithmicro.com/ John Peacock

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:

Security Issue (1997) [WebDNA] Some code inside a large loops fail ... but why? (2010) Separate SSL Server (1997) [WebDNA] character encodings in linux (2011) Sendmail - Attachment / My First Post (2001) Server slowing down. (1997) WebCatalog NT beta 18 problem (1997) Major Security Hole (solution with Welcome) (1998) WebCat2b15MacPlugin - [protect] (1997) Number searching/formats (1998) WC2b15 File Corruption (1997) [WebDNA] Downloadable docs (2011) [WebDNA] Using WebDNA with MAMP (2010) Problems with ^ could be solved with [REPLACE CHARACTERS] (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) Calendar (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) Special delete ... (1997) How far do [showif]s go? (1997) Template Not Found (1998)