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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows NT/2K backup log examination on linux

Status
Not open for further replies.

evgeniosc

IS-IT--Management
Oct 5, 2002
75
CY
I would like to write a script on a linux box (using bash) that examines various logs and sends an email to administrator if an error occurs.

These logs includes windows 2k backup logs. These backup logs are in unicode format and though you can view them in bash (e.g using cat or more) you can not grep on them. Also you can not edit them using vi.

Is there any way in linux to convert these files in normal text format?

In windows I accomplished that with the command:
type backup_unicode.log>backup.log. (It does not work on linux)
 
This is also posted on the Linux server forum. Please don't cross-post; questions are almost always answered on this forum, so a carpet-bombing approach isn't necessary...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top