View Single Post
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