10-22-2012
On my linux/mawk system it will compare sizes OK. If it doesn't on yours, force it to be numerical like$5+0 > Ar[$9]+0. For a third rule, you copy the entire comparing line and invert the comparison. Don't forget to change rule 2 to rule 3 in the print cmd.
This User Gave Thanks to RudiC For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
A couple of times per week, i receive emails notifications when files are available for processing.
Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies
2. Shell Programming and Scripting
Hello,
I am new to unix , and I need to create a shell sciprt which helps me FTPing file from LAn to Unix box.
These files r then processed using Perl script and put in a database.
I also need to log the entire process of all the above methods in a log file in the same shell script.
Like ,... (2 Replies)
Discussion started by: agarwalniru
2 Replies
3. Shell Programming and Scripting
hi,
I have one file located in ftp.I want to place that file in different ftp location.
Up to now i am doing it manually using get command and copying that file in to my local system and then putting that file in different ftp using put command.
now i want to automate that using shell... (1 Reply)
Discussion started by: prasee
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
We have some clients who will place huge files in to one of the remote server.
And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients.
My question Is there any FTP command/script to check from my local... (1 Reply)
Discussion started by: nmsrao
1 Replies
5. Shell Programming and Scripting
Hi,
I am getting error when i am deleting file from FTP and also transferring file from local to FTP server.
I am getting 221 error. I am getting this error some time only.
Some time the existing file from FTP is deleted and file from local directory is transferred to FTP server.
... (2 Replies)
Discussion started by: praka
2 Replies
6. Shell Programming and Scripting
Hi all..
The following set of statements is used in a shell script to ftp a file to a remote machine
I want to redirect the ftp messages thrown by the first ftp statement to a log file. As you can see there is a logic downstream to decide if the ftp was a success or not. But i am not... (5 Replies)
Discussion started by: hareeshkumaru
5 Replies
7. Shell Programming and Scripting
Hi,
I need to create a script that checks if a file exists on an offsite server
which only has ftp enabled. I was originally going to use perls Net::FTP
class but the client does not have perl installed nor wants it.
So, I have to use a shell script which logs into the server, then ... (1 Reply)
Discussion started by: gseyforth
1 Replies
8. Shell Programming and Scripting
Hi Guys
I did a forum search for "ftp scripts" Looked at 8 pages and didnt see anything that would help. Most seem to be logging into a ftp server and transfering files.
What I need to do is login to a FTP server. Goto a folder and list it so it showes newest files first. It would be nice to... (4 Replies)
Discussion started by: voorhees1979
4 Replies
9. HP-UX
Hello All,
I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir.
rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed.
Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies
10. Solaris
OS: Solaris 9
Configuration /etc/syslog.conf
daemon.debug
/etc/inetd.conf
ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -A -l -d
Found the ftp.log only generate those entries from other servers/hosts.
Can we trace on all ftp entries either from/to the server?
... (6 Replies)
Discussion started by: KhawHL
6 Replies
Log(4) Kernel Interfaces Manual Log(4)
NAME
Log, .Log - Contains the uucp program log files
SYNOPSIS
/usr/spool/uucp/.Log
DESCRIPTION
The /usr/spool/uucp/.Log directories contain uucp program log files. The uucp program normally places status information about each trans-
action in the appropriate log file each time you use the networking utilities facility. All transactions of the uucico and uuxqt daemons
are logged in files named for the remote system concerned. The files are stored in a subdirectory of the /usr/spool/uucp/.Log directory
named for the daemon involved. Thus, the log files are named with a form of the following: /usr/spool/uucp/.Log/DaemonName/SystemName
The uucp and uuto commands call the uucico daemon. The uucico daemon activities for a particular remote system are logged in the System-
Name file in the /usr/spool/uucp/.Log/uucico directory on the local system.
The uux and uusend commands call the uuxqt daemon. The uuxqt daemon activities for a particular remote system are logged in the SystemName
file in the /usr/spool/uucp/.Log/uuxqt directory on the local system.
When more than one uucp process is running, however, the system cannot access the standard log file, so it places the status information in
a file with a .Log prefix that covers just the single transaction.
The uucp program can automatically append the temporary log files to a primary log file. This is called compacting the log files, and is
handled by the uudemon.cleanu command, a shell procedure, which combines the log files of the activities of the uucico and uuxqt daemons on
a system and stores them in the /usr/spool/uucp/.Old directory.
The default is for the uudemon.cleanu command to save log files that are 2 days old. This default can be changed by modifying the appro-
priate line in the shell script. If storage space is a problem on a particular system, reduce the number of days that the files are kept
in the individual log files.
The uulog command can be used to view the uucp program log files.
RELATED INFORMATION
Daemons: cron, uucico(8), uusched(8)
Commands: uucp(1), uudemon.cleanu(4), uulog(1), uusend(1), uuto(1), uux(1) delim off
Log(4)