Answers for "do something file not in the folder"

0

do something file not in the folder

find . -type d '!' -exec test -e "{}/yourfile" ';' -print  |  awk '{if($1==".") system("sbatch ../../../../runthis.sh")}' 
									^ your file name       ^ output will be "."    if we have a "." as output do this
Posted by: Guest on April-09-2022

Code answers related to "do something file not in the folder"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language