importation initiale dans git

This commit is contained in:
2013-08-27 15:14:44 +04:00
commit 39f9ee159c
687 changed files with 125329 additions and 0 deletions

19
rmtildes Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
if [ $# == 1 -a "$1" == --help ]; then
echo "rmtildes: supprimer les fichiers *~ dans le répertoire courant
USAGE
rmtildes [dir [glob]]
Par défaut, dir==. et glob==*~"
exit 0
fi
RM_OPTS="${RM_OPTS:--f}"
basedir="${1:-.}"
pattern="${2:-*~}"
find "$basedir" -type f -name "$pattern" -print -exec /bin/rm $RM_OPTS "{}" \;