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

Search results for query: *

  1. himalay

    Create a file in all sub-directories if it does not exist

    Thank you for the timely reply. Can anyone of you please direct me to an appropriate tutorial to learn it myself. I was also trying this ls -ltr /*.arch* | wc -l --> returns number of sub-dir have file starting with ".arch" how do I find the number of sub-dir that do not have the file. I tried...
  2. himalay

    Create a file in all sub-directories if it does not exist

    Hello everyone, I need to make a task automated using scripting. I need to search for a file named ".archlock" in all the subdirectories of a directory up to infinite level and then create a file if it does not exist. until now, I did the following. 1. ls -l|grep ^d | wc -l --> returns...

Part and Inventory Search

Back
Top