Slideshow of all photos in subdirectories

Question

I have a collection of photos, which is stored under various sub-directories. How do I start a slideshow of the photos, without moving or copying the photos into one directory.

Answer

Using “Eye of Gnome”:

FILELIST=()
while read FILE ; do
	FILELIST+=( "$FILE" )
done < <(find -type f)
eog -s "${FILELIST[@]}" &


Using "gThumb":

FILELIST=()
while read FILE ; do
	FILELIST+=( "$FILE" )
done < <(find -type f)
gthumb -s "${FILELIST[@]}" &


Comments 4

  1. luke wrote:

    Thanks! I have a lot of porn to get through

    Posted 03 Jul 2010 at 11:47 am
  2. chewearn wrote:

    Sure! Let me tell your mom.

    Posted 03 Jul 2010 at 12:32 pm
  3. grimneko wrote:

    Well… another solution is feh.

    sudo apt-get install feh
    feh -Z -F -D -r

    Also works better as he keeps the sorting.

    -grimneko

    Posted 03 Jan 2011 at 5:28 am
  4. chewearn wrote:

    hi grimneko
    Thanks for the tip!

    Posted 03 Jan 2011 at 2:02 pm

Post a Comment

Your email is never published nor shared. Required fields are marked *