Originally Posted by richy1989
Some special offers are in the directory of '/mnt/us/system/.assets/.../screensvr.png',
they are very beautiful,
they update everyweek.
I want to put them into the directory of '/mnt/us/DK_System/xKindle/res/ScreenSaver',
then it will become the the screensaver of Duokan
but I don't want to copy them one by one everyweek,
it's not comfortable.
so...I want to make out a one click-'sh' with KUAL to finish it when the new 'screensvr.png' was updated.
I'm not familiar with Linux,
Could you help me to finish it?
Put this into a text file with *nix line endings, then run from the command line, see if it does what you want:
for F in `find /mnt/us/system/.assets -name screensvr.png -type f`
cp -a $F /mnt/us/DK_System/xKindle/res/ScreenSaver/$DATE.png;