Search Results

Search: Posts Made By: eskiphill4
2,391
Posted By eskiphill4
Use the perl string functions to parse the...
Use the perl string functions to parse the elements to log, then just use a print statement to add the rest.

print OUT $id . "," . $ele1 . "," . $ele2 . "," . $ele3

The work is in the parsing,...
3,819
Posted By eskiphill4
ftp is an unencrypted transfer. You may need to...
ftp is an unencrypted transfer. You may need to provide a password if you are accessing a protected directory. Anonomous ftp works by just being lax in the authentication. You enter anonomous as...
2,588
Posted By eskiphill4
specifics required
sftp behavior in this realm are very implementation specific. The core problem is historical in nature. UNIX used to mean a lot of folks sharing a system. If you put the password in the command...
3,828
Posted By eskiphill4
Be careful about this. Many OS functions in...
Be careful about this. Many OS functions in modern UNIX are actually built with perl. Removing it can cause major problems.

Removing the modules should be safe and much easier. I've only have a...
117,592
Posted By eskiphill4
Grab a copy of PERL from activestate. It is...
Grab a copy of PERL from activestate. It is quite easy to automate when you have a real language to work with.
42,967
Posted By eskiphill4
The renaming of the files should be done by the...
The renaming of the files should be done by the batch file before / after the call to the psftp program. It does the transfer, it doesn't have to do everything else, that is why you have a batch...
5,566
Posted By eskiphill4
The USB stick will usually appear as a set drive,...
The USB stick will usually appear as a set drive, say E:

A simple copy statement may do the trick

copy c:\windows\desktop\2009\*.* E:

This will cause all the files (*.*) to be copied to the...
16,082
Posted By eskiphill4
A variation on the approach I use may meet your...
A variation on the approach I use may meet your needs. The first call to FTP needs to do a DIR and save the result to the local disk. The script then parses that file to identifiy what files are...
4,246
Posted By eskiphill4
another option
Use a PARTED Live CD. This will run linux off your CD and the PARTED program should be able to do what you want while the W2K is not actually running.
7,515
Posted By eskiphill4
Tools that will work
You are brave to try this but this approach won't fly. The started application is completely separate from the batch file.

I have automated similar work by writing a PERL script that uses the...
4,667
Posted By eskiphill4
What tools are you familiar with? Being a...
What tools are you familiar with?

Being a PERL fan, I'd set up a cron job that executed a PERL script.
The script would open the directory and loop through the files. Any file that matched a ...
29,013
Posted By eskiphill4
Running things from cron is always interesting. ...
Running things from cron is always interesting. What user is the cron job running as?
The environment that you are used to as a normal user doesn't exist for the cron job so you have to figure out...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 12:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy