View Single Post
Old 06-15-2013, 12:12 PM   #881
richy1989
Connoisseur
richy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel isrichy1989 really knows where his or her towel is
 
Posts: 67
Karma: 70690
Join Date: May 2013
Device: Kindle Paperwhite 1 & Kindle 4 Black
Smile

Quote:
Originally Posted by knc1 View Post
Put this into a text file with *nix line endings, then run from the command line, see if it does what you want:
Code:
#!/bin/sh
for F in `find /mnt/us/system/.assets -name screensvr.png -type f`
do
    DATE=`date +%Y_%m_%d-%H-%M-%S-%N`;
    cp -a $F /mnt/us/DK_System/xKindle/res/ScreenSaver/$DATE.png;
done
I save the CODE as a 'sh'
And run it with KUAl

there are five 'screensvr.png's in the the directory of ' /mnt/us/system/.assets/.../ ',they are in the same file name with 'screensvr.png'

but I just see only a png appeared in the directory of '/mnt/us/DK_System/xKindle/res/ScreenSaver',

Is there any way to get all the five 'png's,not only one?
richy1989 is offline   Reply With Quote