On 26/06/2025 19:15, Farley, Peter wrote:
Shouldn’t that “mv” command have an additional period in the second argument to 
delete the extension?

mv *.txt *.

Peter

for f in *.txt; do   mv   $f   `basename $f `   .txt ;done

or something like that?

/Pt





----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to