W dniu 26.06.2025 o 20:24, Peter Sylvester pisze:
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?
ren *.txt *.
Works in Windows CLI.
There are many tools for Linux.
AFAIK there is no one for z/OS Unix.
Of course one may create clever and complex script instead, but ...why?
--
Radoslaw Skorupka
Lodz, Poland
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN