• [^] # Re: Suite

    Posté par (site web personnel, Mastodon) . En réponse au message Copier un fichier en fonction de sa date. Évalué à 1.

    Ah vous m'avez devancé... Pour répondre à la question, je verrais un truc un peu moins trivial du coup (non testé)

    find . -name '*.txt' -type f -printf "%T@ %p0円" |
     sort -n | cut -d' ' -f 2- | tail -n 1

    "It is seldom that liberty of any kind is lost all at once." ― David Hume