From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: Re: viewing random list of files in dired Date: Tue, 17 Feb 2009 14:16:47 +0000 (UTC) Organization: Public Access Networks Corp. Message-ID: References: <1232283932.889271@arno.fh-trier.de> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1234881736 27836 80.91.229.12 (17 Feb 2009 14:42:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Feb 2009 14:42:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 17 15:43:32 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LZRAV-0004Rj-L5 for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Feb 2009 15:43:28 +0100 Original-Received: from localhost ([127.0.0.1]:32786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZR9B-0000Ts-Hq for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Feb 2009 09:42:05 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-NNTP-Posting-Host: panix1.panix.com Original-X-Trace: reader1.panix.com 1234880207 5215 166.84.1.1 (17 Feb 2009 14:16:47 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Tue, 17 Feb 2009 14:16:47 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Original-Xref: news.stanford.edu gnu.emacs.help:166852 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62160 Archived-At: In article , Rupert Swarbrick wrote: >-=-=-=-=-=- > >Andreas Politz 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