Search
 
SCRIPT & CODE EXAMPLE
 

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                            

Comment

PREVIOUS NEXT
Code Example
Shell :: stop master git 
Shell :: bash run until success or timeout 
Shell :: how to hide log in background job in linux 
Shell :: open prompt with default folder ubunut 
Shell :: fallocate 10mb command 
Shell :: apt install youtube-dl 
Shell :: git merge branch into main 
Shell :: re-entering top level after c stack overflow 
Shell :: Git bisect automated 
Shell :: bash for tuple 
Shell :: how to sort in grep in second column in /etc/passwd 
Shell :: linux remove non-ascii characters from file 
Shell :: gitlab backups paths 
Shell :: infinite-react-carousel code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree 
Shell :: share a given window on android 
Shell :: non-docker root 
Shell :: command not available after yarn add global linux 
Shell :: chmod 400 command meaning 
Shell :: ssh to a machine and run a command 
Shell :: linux cli chart real time 
Shell :: switch user in ubuntu lxde 
Shell :: tcr test commit revert 
Shell :: git create new repository 
Shell :: install docker compose on centos 
Shell :: sublime text 4 
Shell :: how to create a github repo 
Shell :: rename folder in terminal 
Shell :: bash command change time 
Shell :: cmd move overwrite file 
Shell :: create windows network share from command line 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =