Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-25-2009, 12:39 AM   #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 01:17 AM. Reason: made a little mod
uifiddle is offline   Reply With Quote
Old 10-29-2009, 06:57 PM   #2
rhari79
Addict
rhari79 actually enjoys Vogon poetry.rhari79 actually enjoys Vogon poetry.rhari79 actually enjoys Vogon poetry.rhari79 actually enjoys Vogon poetry.rhari79 actually enjoys Vogon poetry.rhari79 actually enjoys Vogon poetry.rhari79 actually enjoys Vogon poetry.rhari79 actually enjoys Vogon poetry.rhari79 actually enjoys Vogon poetry.rhari79 actually enjoys Vogon poetry.rhari79 actually enjoys Vogon poetry.
 
rhari79's Avatar
 
Posts: 327
Karma: 56042
Join Date: Feb 2009
Location: Chennai
Device: want a 13.3 inch Tab/ebook reader
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
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:41 AM
Refreshing Files List - Aluratek Libre Pro docfrancov Ectaco jetBook 4 06-23-2010 11:43 PM
Some PDF is not showing in the list kkim Sony Reader 2 09-24-2009 09:54 AM
Is there a way to stop Getting List of Files on Device? kim- Calibre 3 07-22-2009 03:27 AM
pdf convesion failed mmaimon Calibre 6 03-20-2009 09:50 AM


All times are GMT -4. The time now is 05:39 PM.


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