Hi Sean, Sean Whitton <[email protected]> writes:
> Hello,
>
> On Sun 25 May 2025 at 03:29am -07, Xiyue Deng wrote:
>
>> Ack. I use "$(find "${DIR}" -type f -exec basename "{}" \;)" to get the
>> file names without path which is a bit long. Do let me know if there is
>> a better way.
>
> find "${DIR}" -mindepth 1 -printf '%P\n'
>
TIL. I guess the "-type f" part is optional. Updated MR accordingly.
> --
> Sean Whitton
--
Regards,
Xiyue Deng
signature.asc
Description: PGP signature

