|
|
#1 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: none
|
Sort by file modification time
On the m92 file manager, it seems that you can only sort by:
name, type, size, or access time. I would like to sort by modification time, so that I can see the newly added papers at the top. Is there any way to achieve this? I'm running firmware 1.6, would 1.7 help? thanks, -=Abe |
|
|
|
|
|
#2 | |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: none
|
Quote:
In case it's helpful to anyone else. I wrote a small bash script to work around this issue. It creates a folder called "recent_papers" on my device, and then copies the 8 most recent papers in my papers folder to it, prefixing the number beforehand so that I can then "sort by name" Code:
#!/bin/bash
PAPERS_DIR=~/dl_papers
RECENT_DIR=/media/boox/recent_papers
mkdir -p $RECENT_DIR
i=0
ls $PAPERS_DIR/*.pdf -t | head -8 | while read p
do
let i=i+1
bp=$(basename "$p")
OUTFILE="$RECENT_DIR/$i-$bp"
if [ -e "$OUTFILE" ]
then
continue
fi
rm -f $RECENT_DIR/$i-*.pdf
echo "$OUTFILE"
cp "$p" "$OUTFILE"
done
|
|
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PRS-650 Is it possible to sort my books by 'File Name', not 'Added Order' by default? | GMRabelink | Sony Reader | 10 | 10-13-2011 07:50 PM |
| sort by time | alexxxm | Amazon Kindle | 0 | 10-02-2010 09:51 AM |
| epub load time, possible file optimizations? | takamatsu | Kobo Reader | 8 | 07-09-2010 03:54 AM |
| Calibre viewer setting file time | banjomike | Calibre | 6 | 06-14-2010 05:18 PM |