Sha256: 7be062bce9a53769c748ed9a9908b94961dfa0adbf2105784681332a8500135b

Contents?: true

Size: 260 Bytes

Versions: 26

Compression:

Stored size: 260 Bytes

Contents

#!/usr/bin/env bash

path=`ix join '/'`

mkdir -p $path

first=`echo $path | ix split '/' | head -1`

tree $first

if [ "$first" == "/" ]; then
    echo Cant delete root.
    exit 1
else
  command="rm -rf $first"
  echo Delete command: $command
  $command
fi

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ix-cli-0.0.27 bin/ix-tree
ix-cli-0.0.26 bin/ix-tree
ix-cli-0.0.25 bin/ix-tree
ix-cli-0.0.24 bin/ix-tree
ix-cli-0.0.23 bin/ix-tree
ix-cli-0.0.22 bin/ix-tree
ix-cli-0.0.21 bin/ix-tree
ix-cli-0.0.20 bin/ix-tree
ix-cli-0.0.19 bin/ix-tree
ix-cli-0.0.18 bin/ix-tree
ix-cli-0.0.17 bin/ix-tree
ix-cli-0.0.16 bin/ix-tree
ix-cli-0.0.15 bin/ix-tree
ix-cli-0.0.14 bin/ix-tree
ix-cli-0.0.13 bin/ix-tree
ix-cli-0.0.12 bin/ix-tree
ix-cli-0.0.11 bin/ix-tree
ix-cli-0.0.10 bin/ix-tree
ix-cli-0.0.9 bin/ix-tree
ix-cli-0.0.7 bin/ix-tree