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.