QGIS/scripts/remove_temporary_files.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
1.5 KiB
Bash
Raw Normal View History

#!/usr/bin/env bash
2012-10-04 19:33:47 +02:00
###########################################################################
# remove_git_confict_files.sh
2012-10-04 19:33:47 +02:00
# ---------------------
# Date : April 2012
# Copyright : (C) 2012 by Tim Sutton
2014-11-12 17:43:10 +01:00
# Email : tim at kartoza dot com
2012-10-04 19:33:47 +02:00
###########################################################################
# #
# 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. #
# #
###########################################################################
2012-04-08 14:54:01 +02:00
#
# A simple script to get rid of QGIS related temporary files left in
# your QGIS source folder by git
2012-04-08 14:54:01 +02:00
# Tim Sutton, May 2008
find . \
\( \
-name "*.orig" \
-o -name "*.prepare" \
-o -name "*.sortinc" \
-o -name "*.unify_includes_modified" \
-o -name "*.nocopyright" \
-o -name "astyle*.diff" \
-o -name "sha-*.diff" \
-o -name "*.astyle" \
-o -name "sha*.diff" \
-o -name "*.bom" \
-o -name "*.bak" \
-o -name "*.rej" \
-o -name "*.orig" \
-o -name "*.new" \
-o -name "*.temp" \
-o -name "*~" \
\) \
-print \
-delete