PDA

View Full Version : [all variants] Copy random jpg from random folder



HeinzVoerbakje
January 19th, 2010, 06:15 PM
Hi all,

I'm not sure if this is the correct place to ask this question, but here goes....

I'm looking for a script that copies a random .jpg from a random folder in my ~/Pictures folder to my ~/temp folder with a standard filename. This file will then be displayed in Conky. I can fix the last part, but I cannot find a way to do the first part.

Who can help me?

Thank you!!

HeinzVoerbakje

Maheriano
January 19th, 2010, 06:21 PM
I could write it for you. For a price. It would just use a random number generator based on the system clock.

HeinzVoerbakje
January 19th, 2010, 07:35 PM
Well, I was thinking more towards a 'pro deo' approach :D

I found this:
http://ubuntuforums.org/showthread.php?p=1002321
But this script copies mp3s based upon size, I want only one single jpg, it shouldn't be to hard, but I'm not smart enough to alter the script myself ;) well ok, I am good at other things.

Can you help me, and I'll pay you with a lot of gratitude :D

Maheriano
January 19th, 2010, 09:57 PM
I could easily modify that code but simply don't have the time, sorry. I run a business designing/developing websites and every minute I'm writing free code is a minute I'm not getting paid to write other code.