Skip to Content

Unix Techo Tip: Do you ever need to find a particular  LABEL.ASC from a big set of DVD or CD media you downloaded or extracted contents string from your media library. eg Lets say you want to find the DVD with the contents “SAPLUP:700” somewhere in your /sapcd collection.

eg lets say you have downloaded all your SAP DVDs, CDs and Patches to a central directory /sapcd

On Unix try

find /sapcd -name ‘LABEL.ASC’ -exec grep -l SAPLUP:700 {} \; -exec grep SAPLUP:700 {} \;

which will list the matching filename and the string that it matches.

eg The famous ECC6 install “Kernel NW 7.20” Software package problem

/wp-content/uploads/2013/02/sapkernelorwhat_186054.png

/wp-content/uploads/2013/02/sapkernelfind_186072.png

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

  1. Andy Silvey

    Hi Glenn,

    been there, seen that, got the t’shirt and the scars.

    Excellent tip.

    I will put it in my magic Excel sheet.

    Thanks for sharing.

    Andy.

    (0) 

Leave a Reply