X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=bin%2Fmv-p;h=7259d33e6e0d5c47e96e5a15a393c8132536452f;hb=HEAD;hp=62b1b364179c94c77135172dd1b852b4e3ee0d34;hpb=476431ae68b86d0f4df57e5efdb0371b2b795be0;p=config%2Fdotfiles.git diff --git a/bin/mv-p b/bin/mv-p deleted file mode 100755 index 62b1b36..0000000 --- a/bin/mv-p +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# Wrapper command for `mv` which creates the target directory before moving -# the file there. - - -# Get last argument. -for last; do :; done - -mkdir -p "`dirname "$last"`" \ - && mv "$@"