diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-07-17 16:50:40 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-07-17 23:35:14 -0700 |
commit | 25070b355b8a0394c1fbd9cf82c44752b5a8b8c3 (patch) | |
tree | 5e8edf1e5e3f58a8b11b1fcdd2fa851b2322df35 /tools/maybe-mv | |
parent | 3b0b6deecf156916a9fb68dda9ca4b8a47d65aab (diff) | |
download | tmwa-25070b355b8a0394c1fbd9cf82c44752b5a8b8c3.tar.gz tmwa-25070b355b8a0394c1fbd9cf82c44752b5a8b8c3.tar.bz2 tmwa-25070b355b8a0394c1fbd9cf82c44752b5a8b8c3.tar.xz tmwa-25070b355b8a0394c1fbd9cf82c44752b5a8b8c3.zip |
Add dir annoyances
Diffstat (limited to 'tools/maybe-mv')
-rwxr-xr-x | tools/maybe-mv | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/maybe-mv b/tools/maybe-mv index 996052f..56d8e9e 100755 --- a/tools/maybe-mv +++ b/tools/maybe-mv @@ -2,9 +2,7 @@ # Replace one file with another, but maybe don't update the timestamp if cmp "$1" "$2" then - echo rm "$1" rm "$1" else - echo mv "$1" "$2" mv "$1" "$2" fi |