Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Blogs > anky.parmar1786
User Name



How to make new folder through scripting??

Posted 04-27-2013 at 05:28 PM by anky.parmar1786

Hi All,

I have one question.. I have two directories.. one is /logs and other is /logs_backup.
There are 5 folders in /logs directory with the name Jan,Feb,Mar,Apr and May .. now what I want to do is
that I want to move these folders log(Jan,Feb,Mar,Apr and May) in /logs_backup directory.
I want a script in which when script will run,it will check in /logs_backup directory that whether is Jan folder is there or not? If it is there then ok and if it is not there...
LQ Newbie
Posted in Uncategorized
Views 1896 Comments 1 anky.parmar1786 is offline


All times are GMT -5. The time now is 03:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration