Skip to content

Instantly share code, notes, and snippets.

@k0nze
Created August 18, 2021 17:21
Show Gist options
  • Select an option

  • Save k0nze/443899c82ef49375a62ddb4c073818d7 to your computer and use it in GitHub Desktop.

Select an option

Save k0nze/443899c82ef49375a62ddb4c073818d7 to your computer and use it in GitHub Desktop.
Renaming script for the 3D Printing Professor
# place script into folder which contains the files to rename
# the script needs the extention .sh
# navigate into folder with the PowerShell and execute:
# ./rename.sh
for file in 932*_AlphaBlok.stl
do
mv ${file} $(echo ${file} | sed s/Alpha/Writers/g)
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment