Skip to content

Instantly share code, notes, and snippets.

@mjcarroll
Created February 22, 2012 18:02
Show Gist options
  • Save mjcarroll/1886338 to your computer and use it in GitHub Desktop.
Save mjcarroll/1886338 to your computer and use it in GitHub Desktop.
function asdf {
find -L $catkin_source_dir $catkin_binary_dir $pkgdir ${1} ! -regex ".*/[.].*" ! -regex ".*$pkgdir\/build\/.*" -print0 | tr '\000' '\n' | sed -e "s/.*\/\(.*\)/\1/g"
}
...elsewhere...
asdf "-type f -regex .*\.launch$\|.*\.test$"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment