skip cloining if dir exists python code example
Example: python check if folder exists
import os
print(os.path.isdir("/home/el"))
print(os.path.exists("/home/el/myfile.txt"))
import os
print(os.path.isdir("/home/el"))
print(os.path.exists("/home/el/myfile.txt"))