summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfix_date5
1 files changed, 5 insertions, 0 deletions
diff --git a/fix_date b/fix_date
new file mode 100755
index 0000000..a5c6b14
--- /dev/null
+++ b/fix_date
@@ -0,0 +1,5 @@
+#! /bin/sh
+DIR=${1:-$HOME}
+TMP=/tmp/_date
+touch $TMP
+find $DIR -newer $TMP -exec touch '{}' \;