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.