Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: list last modified files
- X-seq: zsh-users 20435
- From: Vin Shelton <ethersoft@xxxxxxxxx>
- To: rooom <rooom@xxxxxxxxxxx>
- Subject: Re: list last modified files
- Date: Wed, 19 Aug 2015 19:16:59 -0400
- Cc: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=dTVK+VCYJ9KZC7rjsUJn50snjopS8eS3mNCgvq9MOvE=; b=R0FlAJZe/eqhVgZDb1+SNcLr8uNtheWdzIKSwcr9rFQ2KBG6IKVAFOw3t00dDiM2TG OrnqiH667N54BAxaq0PjshX0V7piaZbhn/4tWiRf4A0U5WuOidTR41+DHIMVe7SSXAmd NvmACte9c7Ky8QggDRwf20OUbm/cBsQ1Bl98IMrcFR4b2H07l48V+HfPtUqrNiGPWZqW V0usIgopGamQJLsF3qET/Ow2ARVBcuN9EAz6wLgnQ+NLoK5vhhDRBrulFMVSuAuM4ykd UqZf3Xlv0IKZcyUVwfHYe4+hmIlsc585RCZdZz48ZFYuAsdM9HK7ILKOx3SqLZ0pFCf5 WNSA==
- In-reply-to: <6ac3d5e6.2de49d01.55d4fc3c.9415a@prokonto.pl>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <6ac3d5e6.2de49d01.55d4fc3c.9415a@prokonto.pl>
- Reply-to: acs@xxxxxxxxxxxxxxxxxxxx
> I'm trying to write a function which lists 10 most recent files from given sets (not only directories), something like trivial `alias lt=ls -lat | head -n 10`, but better.
Does
ls -ld *(om[1,10])
do what you want?
- Vin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author