Find the answer to your Linux question:
Results 1 to 8 of 8
Hello everyone, I have a lot of texts and books I have read here on my house, and what I want is to systematise them in a list or database ...
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    50

    Question How can I organize this data? Database?

    Hello everyone,

    I have a lot of texts and books I have read here on my house, and what I want is to systematise them in a list or database (I don't know how should it be called). In order to be able to type the name of the author, and get all the names of the books that I have from this author, their years of publication, and other complementary data that belongs to each book. Or perhaps type a year, and get all the books I have published in that year.

    How can I do this? I ask this here because I have never used databases, nor I have any clue of how should I do this.

    Can anybody please help?

    Thank you very much in advance!

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    A database can certainly accomplish this. You would need to install the database software (I'm most familiar with MySQL, but I hear good things about PostgreSQL as well), and then create a database inside it (called "personal_records", perhaps), and then create tables (e.g. "books"), which contain the data.

    How to use databases is outside the scope of this post, but MySQL does have a basic tutorial on using SQL (the language for interacting with most databases) and database design:
    MySQL :: MySQL 5.0 Reference Manual :: 3 Tutorial
    DISTRO=Arch
    Registered Linux User #388732

  3. #3
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    For some database options, take a look through the listing at the link below to see if you can find an app that would suit your particular likes and needs:

    Databases | Linux App Finder
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  4. #4
    Linux Guru
    Join Date
    May 2011
    Posts
    1,838
    Is there some kind of scanner that can read the UPC or ISBN on the book itself? If such a thing existed (I know bar-code scanners for PCs exist), this would *greatly* simplify your effort.

  5. #5
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    Yes...actually, don't bother with a database directly :-p.

    There exists library and general organizer software out there that is great for books. I've used one in the past (can't remember its name), and it helped us run a small library a lot.
    DISTRO=Arch
    Registered Linux User #388732

  6. #6
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    Alexandria may be what you want. It may be in your distro's repository.
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  7. #7
    drl
    drl is offline
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Location
    Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
    Posts
    1,117
    Hi.

    I have a license for Readerware - Music, Video & Book Database Software

    As atreyu mentioned, I purchased a used hand-scanner -- looks kind of like a pistol that shoots a red line. It is placed electrically between the keyboard and PC. I then was able to input CD UPC strings easily (it essentially types the translation of the UPC). The software then searched places like Amazon, picked up the information (composer, date, cost, etc.) and artwork and saved it in the database.

    If you have a newer computer, you might need to find a USB-based UPC reader.

    That combination saved me a lot of time. After that, I could enter items individually or batch them up with the bar code reader. You can create custom reports for printing.

    My impression is that it is a small outfit. I was sent free updates for a long time -- at least 2 years.

    I hasten to add that this was an application that I ran on a Windows box (probably W2K), but it's available for Windows, Mac, Linux. I seem to recall that there was a lot of Java involved, but the installation was painless.

    No matter how easy that was, I tend to like plain text, so most of my technical book details are kept in a simple, semi-structured text file with entries like:
    Code:
    Title: Exploring Expect 
    Subtitle: A Tcl-based Toolkit for Automating Interactive Programs
    Author: Don Libes
    Edition: First
    Date: December 1994
    Publisher: O'Reilly
    ISBN: 1-56592-090-2
    Pages: 602
    Categories: scripting, interacting, automating, system administration
    Comments: 3.5 stars (25 reviews) http://www.amazon.com
    Comments: elderly book, but still useful
    This can be easily searched with a number of tools such as:
    Code:
    agrep - search a file for a string or regular expression, with approximate matching capabilities
    or awk, perl, etc., scripts.

    Keep us posted on what you finally decide to use.

    Best wishes ... cheers, drl
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

  8. #8
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    955
    Actually you could probably do it with a simple text file and a few stored awk scripts for the queries. But you'd have to learn awk syntax.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

Posting Permissions

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