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 rmto 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.John1. 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 PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 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:
|
- Re: WebSTAR, OSX, WebDNA permissions problem ... ( devaulw@onebox.com 2005)
- Re: WebSTAR, OSX, WebDNA permissions problem ... ( devaulw@onebox.com 2005)
- Re: WebSTAR, OSX, WebDNA permissions problem ... ( John Peacock 2005)
- Re: WebSTAR, OSX, WebDNA permissions problem ... ( "Nitai @ ComputerOil" 2005)
- Re: WebSTAR, OSX, WebDNA permissions problem ... ( Jesse Proudman 2005)
- Re: WebSTAR, OSX, WebDNA permissions problem ... ( "Nitai @ ComputerOil" 2005)
- Re: WebSTAR, OSX, WebDNA permissions problem ... ( Jesse Proudman 2005)
- Re: WebSTAR, OSX, WebDNA permissions problem ... ( "Nitai @ ComputerOil" 2005)
- Re: WebSTAR, OSX, WebDNA permissions problem ... ( charles kline 2005)
- 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 rmto 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.John1. 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 PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 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:
Extended [Concvertchars] needed (1997)
PROBLEM (1997)
Cart passing in URL... (2004)
Webcatalog 4.0 - Storebuilder (2000)
A quickie question (1997)
WC2.0 Memory Requirements (1997)
[WebDNA] Feature requests - date format (2009)
RE: Problems with dbcatalog.exe (1997)
Shipping charge question (2003)
WebCatalog/WebMerchant 2.1 (1998)
WebDNA Solutions ... sorry! (1997)
Variables for chat (1997)
Upgrading old WebCat Database Files (1997)
[WebDNA] Sorry WebDNA server not running - September 2019 Edition (2019)
dbf2txt (2003)
Hard Questions ? (1997)
Just a thought - WebCat classes (1998)
totals (1997)
using showpage and showcart commands (1996)
Help name our technology! (1997)