Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 10-24-2009, 11:39 PM   #1
uifiddle
Junior Member
uifiddle began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2008
Device: iliad, 1st ed
Question get a list of pdf files: tried but failed



I'm on a linux box and I'm a novice user of linux.

Quote:
ls -R | sed -e 's/manifest.xml//' -e 's/scribble.irx//' | cat -s > ~/iliad.txt
is not acceptable for the duplication of the file and the directory name. So there's a little complicity, I think.

Some of my PDFs have been initialized by iliad and some don't,so some file names should be perserved.
Some of my PDFs are 01.pdf,02.pdf, this means chapter 1 of a book and chapter 2 of the same book, so some directory names as book names should be perserved.

Anyone can helping me by share a bash (or perl) script listing files on iliad with brevity? Thanks in advance.

Last edited by uifiddle; 10-25-2009 at 12:17 AM. Reason: made a little mod
uifiddle is offline   Reply With Quote
Old 10-29-2009, 05:57 PM   #2
rhari79
Addict
rhari79 ought to be getting tired of karma fortunes by now.rhari79 ought to be getting tired of karma fortunes by now.rhari79 ought to be getting tired of karma fortunes by now.rhari79 ought to be getting tired of karma fortunes by now.rhari79 ought to be getting tired of karma fortunes by now.rhari79 ought to be getting tired of karma fortunes by now.rhari79 ought to be getting tired of karma fortunes by now.rhari79 ought to be getting tired of karma fortunes by now.rhari79 ought to be getting tired of karma fortunes by now.rhari79 ought to be getting tired of karma fortunes by now.rhari79 ought to be getting tired of karma fortunes by now.
 
rhari79's Avatar
 
Posts: 375
Karma: 2200000
Join Date: Feb 2009
Location: Chennai
Device: .*
Couldnt get your question clearly.
If all you need is a list of pdf files with full path then a find command should be enough.
Please check if this works for you

find . -type f |grep -i "\.pdf$" >~/iliad.txt

Hope this helps.
hari
rhari79 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
eBook PDF - free tool for creating PDF eBooks from text files KACartlidge PDF 6 01-04-2012 09:41 AM
Refreshing Files List - Aluratek Libre Pro docfrancov Ectaco jetBook 4 06-23-2010 10:43 PM
Some PDF is not showing in the list kkim Sony Reader 2 09-24-2009 08:54 AM
Is there a way to stop Getting List of Files on Device? kim- Calibre 3 07-22-2009 02:27 AM
pdf convesion failed mmaimon Calibre 6 03-20-2009 08:50 AM


All times are GMT -4. The time now is 06:21 AM.


MobileRead.com is a privately owned, operated and funded community.