mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

hierarchive_file (148B)


      1 #!/bin/bash
      2 
      3 # move $2 to folder $1, creating any missing folders
      4 D=$(dirname "$2")
      5 mkdir -p "$1/$D"
      6 mv "$2" "$1/$D"
      7 #echo "HIERARCHIVE '$1' '$2'"
      8