View Single Post
Old 03-02-2008, 04:55 PM   #389
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
mobils

I did a version 0.0.36 and the only change is that I added the command mobils (triggered by a question from HarryT in another thread and i realized it was something I would find useful). It now lists author, name and filename for the files you give as an argument. Or for all files in a directory if you do not give an argument. It also takes the flag -R for recursive listing.

One obvious use for it is to check which files on my Cybook is missing author information. So what would be useful for other people to have? Which information is useful? What is the best way to display it? Since there are so many way to do things I will add features that people find useful and which I think is sensible.

Let me know if there are some problem under Windows due to filepath things. But as I understood it ActivePerl should handle these kind of things so it should work...

Here is an example of how it works now:
Code:
invid:~/mysvn/ebook/mobileread> mobils -R
Chesterton, G.K.: Father Brown Omnibus (./Father Brown Omnibus.prc)
NOAUTHOR: NOTITLE (./Haggard_Anthology_Vol_1.prc)
NOAUTHOR: NOTITLE (./Chesterton_Man Thursday.prc)
NOAUTHOR: NOTITLE (./Down and Out in the Magic Kingdom.prc)
NOAUTHOR: NOTITLE (./Sherlock Holmes Omnibus.prc)
NOAUTHOR: NOTITLE (./Cabell_Jurgen.prc)
NOAUTHOR: NOTITLE (./Raffles Omnibus.prc)
NOAUTHOR: NOTITLE (./Puddnhead Extraordinary Twins.prc)
NOAUTHOR: NOTITLE (./Putnam_Nonsenseorship.prc)
NOAUTHOR: NOTITLE (./Blue Hand.prc)
NOAUTHOR: NOTITLE (./The Council of Justice.prc)
NOAUTHOR: NOTITLE (./Haggard Anthology Vol 2.prc)
NOAUTHOR: NOTITLE (./Sayers_Whose Body.prc)
NOAUTHOR: NOTITLE (./Lady Molly of Scotland Yard.prc)
NOAUTHOR: NOTITLE (./The Old Man in the Corner.prc)
Bierce, Ambrose: An Occurrence at Owl Creek Bridge (./Bierce, Ambrose_An Occurrence at Owl Creek Bridge.prc)
Bierce, Ambrose: Can Such Things Be? (./Bierce, Ambrose_Can Such Things Be.prc)
NOAUTHOR: NOTITLE (./Shelley_Frankenstein 1818.prc)
NOAUTHOR: NOTITLE (./Doctorow Cory_Someone Comes to Town, Someone Leaves Town.prc)
NOAUTHOR: NOTITLE (./Wittgenstein_Tractatus.prc)
NOAUTHOR: NOTITLE (./The Uncommercial Traveller.prc)
NOAUTHOR: NOTITLE (./Austen_LOVE AND FRIENDSHIP.prc)
NOAUTHOR: NOTITLE (./Three Men in a Boat.prc)
Watts, Peter: Maelstrom (./Watts - Maelstrom.mobi)
Lovecraft, Howard Phillips: Lovecraft's Fiction Volume II, 1926-1928 (./Lovecrafts Fiction Volume II, 1926-1928_v1.1.prc)
Lovecraft, Howard Phillips: Lovecraft's Fiction Volume III, 1928-1931 (./Lovecrafts Fiction Volume III, 1928-1931_v1.1.prc)
Lovecraft, Howard Phillips: Lovecraft's Fiction Volume IV, 1932-1936 (./Lovecrafts Fiction Volume IV, 1932-1936_v1.1.prc)
Lovecraft, Howard Phillips: Lovecraft's Fiction Volume I, 1905-1925 (./Lovecrafts Fiction Volume I, 1905-1925_v1.1.prc)

./ThorneSmith:
NOAUTHOR: NOTITLE (./ThorneSmith/Smith_Topper.prc)
NOAUTHOR: NOTITLE (./ThorneSmith/Smith_The Night Life of the.prc)

./MarkTwain:
NOAUTHOR: NOTITLE (./MarkTwain/Twain_The Innocents Abroad.prc)

./MurrayLeinster:
Leinster, Murray: Long Ago Far Away (./MurrayLeinster/Long Ago Far Away.prc)

./AustinFreeman:
Freeman, R. Austin: Dr. Thorndyke Omnibus Vol 1 (./AustinFreeman/Dr Thorndyke Omnibus Vol 1.prc)
Freeman, R. Austin: Dr. Thorndyke Omnibus Vol 2 (./AustinFreeman/Dr Thorndyke Om:
.
.
.
tompe is offline   Reply With Quote