Skip to content

Instantly share code, notes, and snippets.

@icaoberg
Created August 27, 2012 18:58
Show Gist options
  • Save icaoberg/3491344 to your computer and use it in GitHub Desktop.
Save icaoberg/3491344 to your computer and use it in GitHub Desktop.
Comment out email notification on all PBS scripts in the current path
#!/bin/bash
find . -name "*.sh" -exec sed -i 's/#PBS -M icaoberg@andrew.cmu.edu/##PBS -M icaoberg@andrew.cmu.edu/g' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment