On 09/02/2023 20:47, Dennis German wrote:
I have written a bunch of wrappers for several utilizes which operate on
the last file modified.

For example:

vil,  catl, headl, taill, wcl ...

rml which displays the file and asks for confirmation

mvl /newname/

chmodl a+r


Does anybody like this idea and would like to see it expanded or have
any related suggestions?

I use something similar with my "newest" script:
https://www.pixelbeat.org/scripts/newest

That can be called directly to list the newest files,
or could be leveraged for non modifying commands at least like:

  alias lessl='less $(newest -n1)'

I'm not sure "newest" is useful enough to make more generally available,
but I do use it most days TBH.

cheers,
Pádraig

Reply via email to