all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dkcombs@panix.com (David Combs)
To: help-gnu-emacs@gnu.org
Subject: Re: viewing random list of files in dired
Date: Tue, 17 Feb 2009 14:16:47 +0000 (UTC)	[thread overview]
Message-ID: <gnegsf$52v$2@reader1.panix.com> (raw)
In-Reply-To: gkvcbi$ltf$1@news.albasani.net

In article <gkvcbi$ltf$1@news.albasani.net>,
Rupert Swarbrick  <rswarbrick@gmail.com> wrote:
>-=-=-=-=-=-
>
>Andreas Politz <politza@fh-trier.de> 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.
>
>Rupert
>
>-=-=-=-=-=-
>[Attachment type=application/pgp-signature, name=unknown]
>-=-=-=-=-=-

What's this "counter" you mention as a help in a dired-order?

Thanks!

David




      parent reply	other threads:[~2009-02-17 14:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-18 13:04 viewing random list of files in dired Andreas Politz
2009-01-18 13:54 ` Rupert Swarbrick
2009-01-18 15:10   ` Andreas Politz
2009-01-18 16:15     ` Drew Adams
2009-01-18 17:00       ` Drew Adams
2009-01-18 17:38         ` Harry Putnam
2009-01-18 17:48           ` Drew Adams
2009-01-18 18:28             ` Harry Putnam
2009-01-18 18:45               ` Drew Adams
2009-02-17 14:16   ` David Combs [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gnegsf$52v$2@reader1.panix.com' \
    --to=dkcombs@panix.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.