Check directory exists in bash
Iwantittocheckifitisalreadyinstalled,ifyes,thendonothingandclosedthebatchfile.Ifno,thencontinuewiththeinstallation/copyingfiles.,I'mtryingtowriteabatchfilethatchecksfortwodirectoriesandifthedirectoriesexists,deleteallfilesandsubfoldersinbothdirec...。參考影片的文章的如下: