[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: viewing random list of files in dired

From: Rupert Swarbrick
Subject: Re: viewing random list of files in dired
Date: Sun, 18 Jan 2009 13:54:39 +0000
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

Andreas Politz <address@hidden> writes:

> Hi,
> is it possible to view a random list of files with dired ?
> What I really want is to examine a couple 100 of images from
> different directories as thumbnails with associated filename.
> The names come from the command line. None of the programs I
> have tried (gthumb,gqview,xzgv,feh) can do it.
> Thanks,
> -ap

I don't know whether dired will do this directly, but for a similar
problem in the past I used the following approach: create a temporary
directory and make symbolic links to each of the files in the list (if
you really mean random, you can pipe your command through eg shuf),
naming them 00001 00002 etc.

The result will be ordered however you choose (based on the ordering you
fed to your "counter") and you can just wipe the temporary directory
when done.


Attachment: pgpm37DRAZZ24.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]