Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. moogeboo

    Prevent Tomcat from overwriting stdout.log at startup

    thread877-1012224 Hi, This is to reference the above older thread. I am running Tomcat 5.0.27 and everytime the Tomcat service is stopped and restarted, it overwrites the stdout.log. I want to be able to keep a history of all the logs, and not have it overwritten everytime the service is...
  2. moogeboo

    delete folders that being with caa that are older than 14 days

    thanks for the pointers mrmovie and geates. the script works well! Moogeboo
  3. moogeboo

    delete folders that being with caa that are older than 14 days

    Hi, I'm trying to write this script that would delete all folders that begin with caa if the folders are older than 14 days. The script runs, but the folders are not deleted, even if they are older than 14 days. I want to be able to delete all files and subfolders within the caa* folder, as...
  4. moogeboo

    Copy files from subfolders beneath designated folder

    Hi, I have this script that parses through client folders, and copies all files in a designated folder for each client. What I want to do now is to take it one step further and copy all files beneath all subfolders that the client may create. So one client may log in and create a folder and 3...
  5. moogeboo

    copy files between two linux boxes

    I'm using ESX 2.5.3. The standard, with nothing else.
  6. moogeboo

    copy files between two linux boxes

    Annihilannic, This is what i typed exactly: scp root@esx2:'vmfs/hba:0:1:0:1/NT\ 4.0\ Standard\ #\ 5\ \(NT4LABSRV\).vmdk' /vmfs/home and it did not work. I tried removing the single quotes and it still did not work. When I hit enter there is no screen output and I need to hit Ctrl+C to...
  7. moogeboo

    copy files between two linux boxes

    thanks annihilannic. that worked! However, I have a bunch of other files in this format: vmfs/hba:0:1:0:1/NT 4.0 Standard # 5 (NT4LABSRV).vmdk I tried using \ escapes but it seems to have trouble with the parentheses (NT4LABSRV). Any idea how this can be done? Thanks, Moogeboo
  8. moogeboo

    copy files between two linux boxes

    Thanks for the replies..To clarify, lets say i have this file in the following path for esx1: vmfs/hba:0:1:0:1/NT 4.0 Standard # 1.vmdk so if i wanted to copy it to esx2, what would i need to type in? I tried the following and they haven't worked: scp root@esx2:/vmfs/hba:0:1:0:1/"NT 4.0...
  9. moogeboo

    copy files between two linux boxes

    Hi, I am a beginning Linux user trying to copy files between two ESX 2.5.3 machines running Linux. Is there a method to copy files that have a bunch of spaces in between? source:/vmfs/esx1/file that lives here.vmdk destination: vmfs/archive scp root@destination:/vmfs/esx1/???.vmdk...
  10. moogeboo

    from dsl to point to point

    hi, i currently have a setup of 5 sites. all sites connect back to the main site via 3des ipsec vpn. all sites are running dsl, and all sites have the 503b pix router. now, i am planning to purchase 2 routers to a get a point to point connection between the two main sites. My question is...
  11. moogeboo

    copy single file to multiple directories

    hello, i have this simple script: Dim fso Dim path Dim oFolder Dim oSubFolder Const OverwriteExisting = True Set fso = createobject("Scripting.FileSystemObject") File = "c:\test.txt" Path = "c:\temp" Set oFolder = fso.GetFolder(Path) Set colSubfolders = oFolder.Subfolders For Each...
  12. moogeboo

    check log file and notify if stopped

    Thanks for the input! I got it figured out now.... Moogeboo
  13. moogeboo

    check log file and notify if stopped

    Hello everyone, I have a logfile that is updated every 5 minutes. What I'd like to do is have a vbscript monitor this file and if the last date modified is greater than 30 minutes from the current time, send an email to me. Thanks! Moogeboo
  14. moogeboo

    script to parse a log file, send only contents within delimiter

    I'm in the process of refining this..I'll let you know what the outcome is... thanks...
  15. moogeboo

    script to parse a log file, send only contents within delimiter

    Here is a scratch sample outline. Thanks for any input you may have.... Option Explicit '* '* Declare Constants '* Const cVBS = "emails.vbs" Const cTXT = "emails.txt" '* '* Delare Variables '* Dim strMSG Dim arrOTF Dim strOTF Dim intOTF Dim...
  16. moogeboo

    script to parse a log file, send only contents within delimiter

    Hi, Am fairly new to vbscript, and was wondering what is the best way to do the following: Parse a log file that essentially is divided among sections. Each section has data that needs to be sent to an email address in that particular section. Here is the format of the data file which...
  17. moogeboo

    list of files copied inserted to log

    thanks markdmac...your pseudocode was most helpful! M
  18. moogeboo

    list of files copied inserted to log

    hi, i have a vb script that copies files in a directory if it detects any files in that directory. This runs every 5 minutes, and it logs when it runs. Now, for debugging purposes, i'd like to be able to specifically log the individual files that it copies and write the filenames of the...
  19. moogeboo

    monitor a specific directory for files

    thanks misterniceguy...i appreciate the effort a lot... now, i'm wondering if this scenario can be done...after the script finds files from each of the "out" folders for each user, how could it copy the files to the correspdonding user/out box for each user? that is, if it finds...
  20. moogeboo

    monitor a specific directory for files

    hi, i'm trying to write a script that monitors a specific directory under a parent folder.i.e, have a users folder, underneath the users folder i'll have user1, user2, user3, etc..and within each of these user folders i'll have folders called in and out. Now, what i'd like to do is monitor...

Part and Inventory Search

Back
Top