From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rupert Swarbrick Newsgroups: gmane.emacs.help Subject: Re: viewing random list of files in dired Date: Sun, 18 Jan 2009 13:54:39 +0000 Organization: albasani.net Message-ID: References: <1232283932.889271@arno.fh-trier.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1232289691 16448 80.91.229.12 (18 Jan 2009 14:41:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Jan 2009 14:41:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 18 15:42:44 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 1LOYrL-0003lY-Dj for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Jan 2009 15:42:44 +0100 Original-Received: from localhost ([127.0.0.1]:44038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOYq4-0000gY-Fp for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Jan 2009 09:41:24 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news.musoftware.de!wum.musoftware.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-X-Trace: news.albasani.net FhukTbGSvQdhZ3SvosP7bxL7Un74L2PE5XjjVJPGt2i50iZ3syovikWN+KC7xBlz9+S9mDGdb8/y4RANzlfsHfPX9nEyJBAXdWpG14yZr7X2HHVzahhUl4ytFuGHDfho Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Sun, 18 Jan 2009 13:54:58 +0000 (UTC) X-User-ID: h9aBUoQunapYD6TVnDW0IXjImUQ2qBELzZs/A738jpU= Cancel-Lock: sha1:wzGsAh7iF1pLRZI7Rix3hzzeD/U= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) X-NNTP-Posting-Host: 7BnNkvP/dpHYjio1yCmTBCt3bZRL4B+x0IecTu27HJI= Original-Xref: news.stanford.edu gnu.emacs.help:166122 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:61446 Archived-At: --=-=-= 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 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iJwEAQECAAYFAklzNJ8ACgkQRtd/pJbYVoZpuwP+MEdzBc3DpEimKwbrpOVLgr5y Dvo02WvNzEhBif92HUZZ/gpe2w8aJzExD99Wxi4nKIphb/wGF0nfvPDZvNlSLUTg 60pZbuA6/iziA1bzvF1yT/qnjQAiYgzLy/BQXE882zFpuE4c93ttkDGb/klde5bH OqaShOGaQwmDX/U2eGY= =0Adt -----END PGP SIGNATURE----- --=-=-=--