From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.devel Subject: Re: Human-readable file sorting Date: Mon, 22 Feb 2016 22:31:46 +0100 Message-ID: <87k2lw8m9p.fsf@mbork.pl> References: <87povs41xg.fsf@gnus.org> <87bn7c3yms.fsf@gnus.org> <87r3g7exb2.fsf@gnus.org> <87twl3vrk9.fsf@mbork.pl> <87oabbdf9l.fsf@gnus.org> <87k2lwty5a.fsf@thinkpad.rath.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456176748 24312 80.91.229.3 (22 Feb 2016 21:32:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2016 21:32:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nikolaus Rath Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 22 22:32:21 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aXy5c-0005ky-Mm for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 22:32:20 +0100 Original-Received: from localhost ([::1]:52171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXy5c-0007oE-6s for ged-emacs-devel@m.gmane.org; Mon, 22 Feb 2016 16:32:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXy5K-0007o1-FN for emacs-devel@gnu.org; Mon, 22 Feb 2016 16:32:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXy5F-0002Jd-GA for emacs-devel@gnu.org; Mon, 22 Feb 2016 16:32:02 -0500 Original-Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:39546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXy5F-0002JV-91 for emacs-devel@gnu.org; Mon, 22 Feb 2016 16:31:57 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 369759D2005; Mon, 22 Feb 2016 22:31:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ru0ESkU3PwwU; Mon, 22 Feb 2016 22:31:46 +0100 (CET) Original-Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 8123D9D2004; Mon, 22 Feb 2016 22:31:46 +0100 (CET) User-agent: mu4e 0.9.13; emacs 25.1.50.3 In-reply-to: <87k2lwty5a.fsf@thinkpad.rath.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200503 Archived-At: On 2016-02-22, at 19:09, Nikolaus Rath wrote: > On Feb 20 2016, Lars Ingebrigtsen wrote: >>> BTW, I like this idea. FWIW, exactly because of this issue I use >>> trailing zeros when naming files, and do not expect file sorting to be >>> too smart, but many people don't do this, and renaming files I get from >>> them is a pain. >> >> I had a collection of stuff that I had padded with four zeros, and then >> I needed another digit. *sigh* > > $ mmv 'prefix*.jpg' 'prefix0#1.jpg' > > That wasn't too painful, was it? :-). What about thumbnails? Metadata kept in seperate files by image viewing programs? That wasn't too painful, but it was too simple. (Still, thanks for teaching me that mmv command - nice!) > Best, > -Nikolaus Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University