QGIS/scripts/remove_temporary_files.sh

29 lines
1.2 KiB
Bash
Raw Normal View History

2012-04-08 14:54:01 +02:00
#!/bin/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 and the prepare-commit script.
2012-04-08 14:54:01 +02:00
# Tim Sutton, May 2008
find . -name "*.orig" -exec rm -rf {} \;
find . -name "*.prepare" -exec rm -rf {} \;
find . -name "astyle*.diff" -exec rm -rf {} \;
2015-08-21 07:29:38 +10:00
find . -name "*.astyle" -exec rm -rf {} \;
find . -name "sha*.diff" -exec rm -rf {} \;