Revision f60e9170b16eac5d2750d317b0e55fc9af7d7590 authored by Juergen E. Fischer on 20 February 2017, 16:55:03 UTC, committed by Juergen E. Fischer on 24 February 2017, 11:10:37 UTC
1 parent d9f9c9d
Raw File
remove_temporary_files.sh
#!/bin/bash
###########################################################################
#    remove_git_confict_files.sh
#    ---------------------
#    Date                 : April 2012
#    Copyright            : (C) 2012 by Tim Sutton
#    Email                : tim at kartoza dot com
###########################################################################
#                                                                         #
#   This program is free software; you can redistribute it and/or modify  #
#   it under the terms of the GNU General Public License as published by  #
#   the Free Software Foundation; either version 2 of the License, or     #
#   (at your option) any later version.                                   #
#                                                                         #
###########################################################################

#
# A simple script to get rid of QGIS related temporary files left in 
# your QGIS source folder by git

# Tim Sutton, May 2008
find . \
  \( \
       -name "*.orig" \
    -o -name "*.prepare" \
    -o -name "*.sortinc" \
    -o -name "*.nocopyright" \
    -o -name "astyle*.diff" \
    -o -name "sha-*.diff" \
    -o -name "*.astyle" \
    -o -name "sha*.diff" \
    -o -name "*.bom" \
    -o -name "*~" \
  \) \
  -print \
  -delete
back to top