|
how many times does this repeated sequence exist
need a script to determine daily how many times does the below repeated sequence exist in a log file, and if it shows failure to connect in the same file
200 PORT Command successful.
150 Opening BINARY mode data connection for rgr016.daily.0305.
226 Transfer complete.
local: rgr016.daily.0306 remote: rgr016.daily.0306
also grep for "Not connected"
(trying to confirm consistent daily number of expected transfers, & will want to use this total against list of expected outputted files on another /dir
Thanks!
log has been set to only keep one day's worth of transfers and will no longer append
|