A Drupal-CiviCRM setup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
569B

  1. #!/bin/sh
  2. find . -name "*~" -type f | xargs rm -f
  3. find . -name ".#*" -type f | xargs rm -f
  4. find . -name "*.rej" -type f | xargs rm -f
  5. find . -name "*.orig" -type f | xargs rm -f
  6. find . -name "DEADJOE" -type f | xargs rm -f
  7. find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".tgz" | grep -v ".ico" | grep -v "druplicon" | xargs perl -wi -pe 's/\s+$/\n/'
  8. find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".tgz" | grep -v ".ico" | grep -v "druplicon" | xargs perl -wi -pe 's/\t/ /g'