[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] can we change the extension of multiple files in SC3?



I read:
I realise the commands of yours do not change the files like:

01 inst.txt

Is there any possibility to change the extensions of all files even
with the a space in its file name?

try with quotes:

for F in *.ext; do mv "$F" "${F/.ext/}.new"; done

HTH

x

--
chris@xxxxxxxxxx        Postmodernism is german romanticism with better
http://pilot.fm/        special effects. (Jeff Keuss / via ctheory.net)

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/