sequence-algorithms/folder-structure.sh

8 lines
138 B
Bash

#!/bin/sh
find ./content -type d > folder_list.txt
mkdir -p build
cd build
cat ../folder_list.txt | xargs mkdir -p
rm ../folder_list.txt