Advertisement

09.22.2008 at 03:30PM PDT, ID: 23753235
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.0

Shell script for creating Directories

Asked by mohona in Shell Scripting, Linux Programming, Bourne-Again Shell (bash)

Tags: , , , , ,

Dear experts,

Please help me creating a bash/ksh shell script which will create some directories to a three different paths

/x/y/z
/a/b/c

My reuirements are
1. The script will run like this -
$example.sh dirname.txt (example.sh will be my new script name)

here dirname.txt will contain each dir names in a separate line,
$cat dirname.txt
a123
b123
c123

But, it will create directories like

INBa123    in     /x/y/z
a123INB    in     /x/y/z

and a123OUT in /a/b/c and then next and so on

2. If any directories exists with same name it will quit and show a warning message

3. If the input file contains any directory name which is in lower case, the script will convert the same to upper case before creating directory and checking the directory exist status.

Hope my problem will be solved, thanks in advance.


Start Free Trial
[+][-]09.22.2008 at 03:54PM PDT, ID: 22545038

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.22.2008 at 05:56PM PDT, ID: 22545580

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.22.2008 at 09:59PM PDT, ID: 22546541

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.23.2008 at 01:31AM PDT, ID: 22547304

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.23.2008 at 01:32AM PDT, ID: 22547310

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.23.2008 at 07:05AM PDT, ID: 22549421

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.23.2008 at 12:22PM PDT, ID: 22552991

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Shell Scripting, Linux Programming, Bourne-Again Shell (bash)
Tags: Shell Script, Bash, Ksh, Unix, linux, Solaris
Sign Up Now!
Solution Provided By: Tintin
Participating Experts: 2
Solution Grade: A
 
 
[+][-]09.24.2008 at 09:21AM PDT, ID: 22561297

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080924-EE-VQP-38 / EE_QW_Related_20080208