View Single Post
Old 03-01-2009, 09:07 PM   #188
CyberBiker
Member
CyberBiker began at the beginning.
 
CyberBiker's Avatar
 
Posts: 21
Karma: 10
Join Date: Feb 2009
Device: Kindle2
Kindle 2
Aluminum MacBook using Leopard 10.5.6

copied "#!/usr/bin/python" (without quotes) into kindlepid.py & kindlefix.py script files
Did not have /usr/local/bin/ directory, so I made one using the following commands in terminal:

cd /usr/local
sudo mkdir bin
cd /bin
sudo ln -s ~/eBooks/tools/kindlefix.py kindlefix
sudo ln -s ~/eBooks/tools/kindlepid.py kindlepid


from /usr/local/bin/ I typed the following:

kindlepid [kindleSerialNumber]


Upon hitting the return key, I got:

-bash: kindlepid: command not found

What did I do incorrectly?
Does the script need to be modified for the Kindle2?

Thanks
CB
CyberBiker is offline   Reply With Quote