10 lines
235 B
Bash
Executable file
10 lines
235 B
Bash
Executable file
#!/bin/sh
|
|
|
|
create_directories() {
|
|
workdir="$(mktemp -d)"
|
|
mkdir -p "$workdir/source"
|
|
mkdir -p "$workdir/dest"
|
|
mkdir -p "$workdir/restore"
|
|
echo 'Hello World!' > "$workdir/source/hello_world.txt"
|
|
echo "$workdir"
|
|
}
|