Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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                            

 
PREVIOUS NEXT
Tagged: #file #folder
ADD COMMENT
Topic
Name
7+5 =