![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,406
Karma: 52613881
Join Date: Oct 2010
Device: Kindle Fire, Kindle Paperwhite, AGPTek Bluetooth Clip
|
Spreadsheet from file list?
![]() Is there an easy way to create a spreadsheet from a file list? I am not using any book management program, and I would just like to have a spreadsheet that I can set up with maximum flexibility, so I can add comments, book prices, source, etc. For new e-books I can just make manual entries; I want to be able to get a list of all the e-books I've already got on the computer without retyping. I'm using Windows (XP, Vista, and 7 Starter). I've found a couple of places with what purport to be directions, but they might as well be Greek. I tried following them to a point, then got lost when what was on my computer screen didn't match what their directions said should be there. If it's complicated, I'll just retype everything, but I thought it would be worthwhile to ask first. Thanks! |
![]() |
![]() |
![]() |
#2 |
Blue Captain
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,595
Karma: 5000236
Join Date: Feb 2007
Location: Australia
Device: Kindle Keyboard 3G,Huawei Ideos X3,Kobo Mini
|
Something like:
dir *.* > ebooklist.csv or (*.whateverfiletype) at the CMD prompt once you are in the right directory (or pass the dir command the directory path if you prefer) |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,105
Karma: 1025784
Join Date: Oct 2010
Device: WiFi Kindle3
|
I would not mind something systematic, too. My "list" is of the various freebies and really is one very long text file at this point where I grab descriptions posted on this board or on Amazon or other descriptions. Generally, title and author on one line and then the book descriptive text in a following paragraph. I've generally throw a series of dashes --------- between books.
I'm thinking of either opening or importing into Excel and hoping for some method of segregating some of the data so I can do an alpha sort on either title or author. |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,406
Karma: 52613881
Join Date: Oct 2010
Device: Kindle Fire, Kindle Paperwhite, AGPTek Bluetooth Clip
|
Quote:
I have subdirectories two and three deep, so it I had to go into each one to list the files, it would be as time consuming as just typing everything directly into the spreadsheet. Any ideas? |
|
![]() |
![]() |
![]() |
#5 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 493394
Join Date: Jun 2008
Location: Seattle, WA
Device: iRex iLiad, Onyx Boox 60
|
Quote:
dir /s/b *.* > ebooklist.csv |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,406
Karma: 52613881
Join Date: Oct 2010
Device: Kindle Fire, Kindle Paperwhite, AGPTek Bluetooth Clip
|
Thanks. Still not getting the file listing, though.
The first command (dir *.* > ebooklist.csv) gives me a list with the timestamp, <DIR>, and the directory name. The revised command (dir /s/b *.* > ebooklist.csv) gives me a list with the filepath for each directory. Neither one gives me the subdirectories, or the files within the subdirectories. |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,105
Karma: 1025784
Join Date: Oct 2010
Device: WiFi Kindle3
|
It should work. Are you at the folder level to get the full folder list?
If your books are in say: c:\library you can do dir c:\library /s/b > list.txt or you can already be in c:\library when you run the command dir /b/s > library.txt You will wind up with a lot of extraneous info that will need editing but you should have all of your books. edited to fix based on corrections posted below (thanks for catching that). Last edited by FF2; 02-07-2011 at 12:46 PM. |
![]() |
![]() |
![]() |
#8 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 760
Karma: 51034
Join Date: Feb 2009
|
Quote:
dir /s/b > library.txt for the OP that is the same as were you not in the directory, FF2 just made a typo and not sure FF2 caught it and no need for you to feel frustrated when your results don't seem right. ![]() |
|
![]() |
![]() |
![]() |
#9 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 760
Karma: 51034
Join Date: Feb 2009
|
btw, if you want to just keep adding to more to an existing file use a different pipe:
dir /s/b >> library.txt That appends the directory being scanned, in this case whatever directory you are in at the time, to the end of the existing file. So if you use the original command FF2 presented only using the "append" pipe rather than the create new file pipe, you just need to change the directory names: dir c:\{library-name} /s/b >> c:\{directory where you are keeping the book list file}list.txt This is a simple command but more powerful than many people know. If you get stuck while in the CMD (also called a DOS window) just type dir /? which will bring up a list of options for the DIR command. Oh, btw, as a rule DOS commands are NOT case sensitive though some have switches (the /option thingy is a switch) can be case sensitive. I think that was a silly choice but, some are what they are. Just follow the help opened using the /? switch. Last if the /? brings up a list too long for your screen, you can just use the left scroll bar or use a slightly different way of bringing up the list. Type it this way: dir /? | more This lets you view the info returned one page at a time. But the scroll bar on the right of the DOS window is the easiest option. ![]() have fun!! DOS is not hard...try Unix or Linux if you want cryptic and hard, but POWERFUL command line stuff. After all MS-DOS was pretty much a sripped down set of commands used by Unix or even CP/M anyway. |
![]() |
![]() |
![]() |
#10 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 99
Karma: 49970
Join Date: Jul 2010
Device: Nook ST/Nook HD+
|
Catlady,
If all you need is a listing like this: Code:
Top Folder ---------- Book1 Book2 Book3 : : TopFolder\SubFolder1 -------------------- Book1 Book2 Book3 : : TopFolder\SubFolder2 -------------------- Book1 Book2 Book3 : : TopFolder\SubFolder2\SubSubFolder1 ----------------------------------- Book1 Book2 Book3 : : I wrote it for a different purpose, but it will produce a list of your folders and subfolders, and the names of the books in each folder. Just run the program and select your top-level folder. It will create a text file called "BookList.txt" in that folder, which you can import into Excel. The program is tiny, just 12KB (KB, not MB), and is completely free of any malware, viruses (virii?), etc. You can verify this by scanning the program with your favorite anti-virus software. If you are interested, I'd be happy to send you a copy via e-mail, as I don't have anywhere convenient to post it. Regards, Eric |
![]() |
![]() |
![]() |
#11 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 760
Karma: 51034
Join Date: Feb 2009
|
also here is one app that will do the trick as well:
http://malektips.com/filelist-output...-database.html On that page is a link to a program to create the file as well: http://www.jam-software.com/filelist/ You can then just import the file into your spreadsheet program no matter what spreadsheet app you are using. There are tons of options to make this work, I like the look of Eric's output a lot, nice job! |
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,105
Karma: 1025784
Join Date: Oct 2010
Device: WiFi Kindle3
|
The append option >> could create duplicates if always used from the highest folder as opposed to only working on new folders. But this may be getting to arcane.
I do use a similar method for "indexing" my dvd disks dir f: /s/b >> dvd.txt (where f: is my dvd drive) |
![]() |
![]() |
![]() |
#13 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,406
Karma: 52613881
Join Date: Oct 2010
Device: Kindle Fire, Kindle Paperwhite, AGPTek Bluetooth Clip
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,406
Karma: 52613881
Join Date: Oct 2010
Device: Kindle Fire, Kindle Paperwhite, AGPTek Bluetooth Clip
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#15 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,406
Karma: 52613881
Join Date: Oct 2010
Device: Kindle Fire, Kindle Paperwhite, AGPTek Bluetooth Clip
|
Thanks so much for the offer, Eric. I think I'll just work with the output I got using FF2's instructions, since it seems easy enough to clean up for the spreadsheet.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PB 360: display series and book # in metadata view of file list | mimosavj | PocketBook | 4 | 05-02-2010 09:10 PM |
Edit Calibre Database as a spreadsheet | astaire75 | Calibre | 0 | 01-29-2010 01:51 PM |
The file list | yingwu | Amazon Kindle | 4 | 06-24-2009 10:06 PM |
Is there a program that can read your book file names and make a list? | GatorDeb | Reading and Management | 6 | 09-26-2008 12:57 PM |
Gnumeric Port (Spreadsheet Application) | Adam B. | iRex | 6 | 08-08-2008 05:36 PM |