I need to remove a large binary file (PDF file) from a large log file which is generated daily.This is seriously hogging space on our servers.I need to remove the large PDF from the logs to make the logs smaller and manageable
I need to take out the texts (or binary file) between the strings
I am not sure whether the sed utility can do this, these are large files and need to be pruned. I am not seeking log rotation advice, just a script or command that can strip these large logs of texts between the characters above. I am not sure how to do this. These files are rather large. I am not sure how to achieve this with sed , tail, head , tr or any other facility.