[GTALUG] DOS > bash

William Park opengeometry at yahoo.ca
Thu Mar 21 21:27:46 EDT 2024


On 2024-03-21 14:39, Ron / BCLUG via talk wrote:
> for I in *.sh ; do
>      mv ${I} ${I%%.sh}
> done

That will change 'x.sh' to 'x' without trailing dot.  Ubuntu/Debian 
distros will include 'rename' where you can use regex.


More information about the talk mailing list