• gimsy@feddit.it
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    9 months ago

    Almost

    for i in *.py do; mv $i $(basename $i).exe ; done

    Or easier

    rename ‘.py’ ‘.exe’ *.py