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:

More on the email templates (1997) Nested search index (2000) Getting total number of items ordered (1997) pulldown menu differences (2005) include (1998) Simple Database close connection (2001) View order not right (1997) creator code (1997) trouble updating records in database (1998) fckeditor in Browswer html editor (2005) I've been thinking (2002) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) [LOOKUP] (1997) OT ImageMagick on OS X (2003) Email Mac (2002) Strange intermittent WebDNA problems (2008) Hosting Services (1999) Missing from Docs [folderName] (1997) RE: IIS4b2 and WebCatalog b19 (1997) Quickie question on the email templates (1997)