Skip to content

Instantly share code, notes, and snippets.

@ymollard
Last active June 23, 2017 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ymollard/01d10039d848859dcfe526008a74bf78 to your computer and use it in GitHub Desktop.
Save ymollard/01d10039d848859dcfe526008a74bf78 to your computer and use it in GitHub Desktop.
Rename ROS package
  • Replace upper case and lower case name occurences with KFilereplace on files: *.md;*.py;*.launch;*.xml;*.txt;*.srv;*.msg;*.action
  • Replace name occurences in folders and files:
    shopt -s globstar  # Enables **
    rename 's/old_name/new/' **  # Run it several times until there's no new error
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment