1
0
mirror of https://github.com/deajan/obackup.git synced 2024-11-14 11:43:41 +01:00
obackup/dev/tests/prepare.sh
2016-08-18 11:52:46 +02:00

21 lines
487 B
Bash

#!/usr/bin/env bash
NON_RECURSIVE_DIR="/opt/testData"
RECURSIVE_DIR="/opt/testDataRecursive"
mkdir -p $SIMPLE_LIST
mkdir -p $RECURSIVE_LIST/Excluded
mkdir -p $RECURSIVE_LIST/a
mkdir -p $RECURSIVE_LIST/b
mkdir -p "$RECURSIVE_LIST/c d"
mkdir -p "$RECURSIVE_LIST/e
touch $SIMPLE_LIST/file_1
touch $RECURSIVE_LIST/file_2
touch $RECURSIVE_LIST/Excluded/file_3
touch $RECURSIVE_LIST/a/file_4
touch $RECURSIVE_LIST/b/file_5
touch "$RECURSIVE_LIST/c d/file_6"
touch $RECURSIVE_LIST/e/file_7