View Full Version : Where is the mythrebuilddatabase??
axelsvag
December 19th, 2008, 08:38 AM
I have read a lot about the command mythrebuilddatabase.pl. But when I try the command mythrebuilddatabase.pl I get the message that the command is not found. What am I missing?
I use mythtbuntu 8.04 on a amd64
ian dobson
December 19th, 2008, 03:43 PM
Hi,
It appears to be in /usr/share/doc/mythtv-backend/contrib/myth.rebuilddatabase.pl.gz. you can expand it using gunzip.
Regards
Ian Dobson
axelsvag
December 20th, 2008, 12:30 AM
Thank you I found it and unpacked it. But still the command line says that the command does not exist. There must be something more I have to do?
ian dobson
December 20th, 2008, 02:44 AM
Hi,
You need to move it to somewhere on your path and set it to executable with chmod +x filename.
or just call it directly (after seting it to be executable)
/usr/share/doc/mythtv-backend/contrib/myth.rebuilddatabase.pl
Regards
Ian Dobson
axelsvag
December 21st, 2008, 07:52 AM
I still get command not found. Maybe I am doing something else wrong. For example in which folder should I put the script? Should I use sudo command to make it execute? Do I have to be in the right folder in terminal to make it work?
SiHa
December 21st, 2008, 11:17 AM
I generally put my scripts in /usr/local/bin
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
Will display the list of directories that will be searched for an executeable - you can put it in any of these.
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.