Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: A script to fix Time Machine after hardware repairs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: A script to fix Time Machine after hardware repairs
Authored by: tlehmann on Oct 06, '09 07:43:32PM

I am having trouble with this script. Any suggestions? I forgot to write down the prompt but it was an sh#3 I think with possibly another # and a 5 maybe. Sorry that is not much help.

The first time I dragged the script I did an all copy and dragged it in which included a "return" at the bottom of the script. This automatically prompted the password but saw it as incorrect and would not allow me to enter the correct password. I believe I got the same prompt.

Any help would be appreciated. I am not a programmer and the terminal is foreign to me. Thanks so much.



[ Reply to This | # ]
10.5: A script to fix Time Machine after hardware repairs
Authored by: tlehmann on Oct 06, '09 07:55:35PM

Sorry, Here is the prompt I received after running it again.

if [[ -z "Sorry, try again. (this is the end of the script)
Password:
Sorry, try again.
Password: (Unable to enter a password - hit return and got this)
sh-3.2#



[ Reply to This | # ]
10.5: A script to fix Time Machine after hardware repairs
Authored by: rkusa on Dec 05, '09 06:45:50PM

Same thing happened to me, but that was because I didn't follow the instructions. I had copied and pasted the script/dragged the script from inside a text file to the Terminal. That's the reason for the error. You have to save the script alone in a file, then drag the actual file icon into the Terminal window. Then it will work as shown. Aside from that, I have another issue I'll post separately.



[ Reply to This | # ]