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...
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...
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...
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...
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
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...
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...
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...
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...
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
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.