
10-13-2008
|
|
Shell programmer, author
|
|
|
Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,361
|
|
Quote:
Originally Posted by llsmr777
Ok so I changed it but after it asks me it only moved one file?
|
What did you change it to?
Quote:
|
Should I not be using a case statement to perform the move?
|
A case statement cannot move anything. You use mv to do the move.
Quote:
|
I am using it to ask the user if the list is correct.
|
How are you using it? We're not mind readers.
Quote:
|
I thought that inside the case statement I should put what shoudl be carried out if the user says no.
|
...and what should be carried out when the use says yes.
Quote:
|
Sounds like maybe I shouldn't be using case
|
Yes, you should use case.
Quote:
|
or put that somewhere else in the script?
|
Isn't that what I suggested?
|