diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-14 08:54:51 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-14 08:54:51 +0200 |
commit | 62579b8f93b43876b96ccb83ddb11fe6886190b7 (patch) | |
tree | d686d39a88842a62cfe3b3c47164771414ee02f1 | |
parent | e4c011c5c577d38a76a84da6449e859c9cdb3f5b (diff) | |
download | bin-62579b8f93b43876b96ccb83ddb11fe6886190b7.zip bin-62579b8f93b43876b96ccb83ddb11fe6886190b7.tar.gz |
add fix_date
-rwxr-xr-x | fix_date | 5 |
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 '{}' \; |