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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.