From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Permerror (mailfrom) identity=mailfrom; client-ip=2001:41d0:1:7a93::1; helo=nautica.notk.org; envelope-from=asmadeus@notk.org; receiver= Received: from nautica.notk.org (ipv6.notk.org [IPv6:2001:41d0:1:7a93::1]) by hurricane.the-brannons.com (Postfix) with ESMTPS id A967F779FC for ; Sat, 13 Jan 2018 09:39:29 -0800 (PST) Received: by nautica.notk.org (Postfix, from userid 1001) id 15B8DC009; Sat, 13 Jan 2018 18:42:50 +0100 (CET) Date: Sat, 13 Jan 2018 18:42:35 +0100 From: Dominique Martinet To: Karl Dahlke Cc: Edbrowse-dev@lists.the-brannons.com Message-ID: <20180113174235.GA27365@nautica> References: <20180013123120.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180013123120.eklhad@comcast.net> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [Edbrowse-dev] Directory Sort X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.24 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jan 2018 17:39:30 -0000 I don't really use edbrowse for files, but a couple of remarks as I do use ls sorting a lot. Karl Dahlke wrote on Sat, Jan 13, 2018: > dsrt=t sort by time. Files have three (or sometimes four now) times, the time you're referring to is probably mtime (modification time), but I think it might be useful to also sort by atime (access time) occasionally. I use that, for example, when listening to a long list of files ; if I have to resume from wherever I left on the previous day I just sort by access time and pick the oldest one as that usually is how they happen to be sorted : things I have accessed on the previous days are more recent, and I usually write files in order too so the old ones will be in order as well either from previous listening or creation. The other two times are ctime (change time) and crtime (creation time), although crtime is not always accessible, and I have found no use for these on a daily basis. > Finally, when sorting by time or size, should I move all the > directories and special files to the end? > They don't really have any meaning in terms of mod time or file size. > I don't do that now but thinking maybe I should, what do you think? I would not, but I assume that is just how I am used to it; For example, when I list my download directory in order for the most recent things if the recent thing was a tarball I extracted I want the corresponding directory listed with the tarball. There might be uses to sorting directories separately. Making it yet another option might be overkill, I don't know. -- Dominique