Skip to content

Instantly share code, notes, and snippets.

@RoyalSix
Created December 10, 2021 18:04
Show Gist options
  • Save RoyalSix/ed64ba5b12097ffded1cf6e51f924fc8 to your computer and use it in GitHub Desktop.
Save RoyalSix/ed64ba5b12097ffded1cf6e51f924fc8 to your computer and use it in GitHub Desktop.
Rename Files
find ./src/pages -name 'index.js' -exec bash -c 'mv $0 ${0/index/index.page}' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment