Results 1 to 6 of 6

Thread: Where is the mythrebuilddatabase??

  1. #1
    Join Date
    Jun 2007
    Beans
    303

    Where is the mythrebuilddatabase??

    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

  2. #2
    Join Date
    May 2007
    Beans
    2,334

    Re: Where is the mythrebuilddatabase??

    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
    Walking on water and writing software to specification is easy if they're frozen.

    My corner of the internet http://www.planet-ian.com

  3. #3
    Join Date
    Jun 2007
    Beans
    303

    Re: Where is the mythrebuilddatabase??

    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?

  4. #4
    Join Date
    May 2007
    Beans
    2,334

    Re: Where is the mythrebuilddatabase??

    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
    Walking on water and writing software to specification is easy if they're frozen.

    My corner of the internet http://www.planet-ian.com

  5. #5
    Join Date
    Jun 2007
    Beans
    303

    Re: Where is the mythrebuilddatabase??

    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?

  6. #6
    Join Date
    Jul 2008
    Location
    Southampton, UK
    Beans
    822
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Where is the mythrebuilddatabase??

    I generally put my scripts in /usr/local/bin
    Code:
    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •