LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how to check existing directory? (https://www.linuxquestions.org/questions/programming-9/how-to-check-existing-directory-313477/)

izza_azhar 04-15-2005 05:02 AM

how to check existing directory?
 
hye all...
my quetion is quite simple...but donno how to go with that?
ok..in my script, there will be checking for existing folder..if that folder not exist, have to create new one..
eg:
if <folder-x> not exist then
mkdir <folder-x>
else
continue task....

i dont know how to check if the folder exist or not..
pleasee..........

trevelluk 04-15-2005 05:09 AM

See this thread: http://www.linuxquestions.org/questions/history/303371


All times are GMT -5. The time now is 08:33 AM.