Find the answer to your Linux question:
Results 1 to 2 of 2
Dear All, I am new to Unix and i need a small Help from you Guys..... The current structure of my system is as follows: /Abc/xyz/cpd/std/re/doc Each cpd directory has ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    7

    Reg: Search for a directory

    Dear All,

    I am new to Unix and i need a small Help from you Guys.....

    The current structure of my system is as follows:
    /Abc/xyz/cpd/std/re/doc

    Each cpd directory has n number of std's. Each std has n number of re's.
    My requirement is to write a UNIX script that would search whether doc directory is present under all re's directories.
    If it is not, i need to write it into a temp file with the full path /Abc/xyz/cpd/std/re/doc.

    Can anyone of you help me in writing a UNIX script for the above mentioned requirement ASAP.

    Looking forward to your response.

    Thank You.

    Regards,
    Rajani-kanth.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    Duplicate threads/posts are not allowed here. Its against Forum Rules. Please continue here only.
    Thread Locked.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...