Skip to content

Commit 793c2b2

Browse files
Add command to store empty directories
1 parent 2a47138 commit 793c2b2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

createDirectories.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@ fi
99

1010
programmingLanguage="$1"
1111
rsync --archive --include='*/' --exclude='*' "${DIRECTORY}/Python/" \
12-
"${DIRECTORY}/${programmingLanguage}/"
12+
"${DIRECTORY}/${programmingLanguage}/"
13+
14+
15+
find "${DIRECTORY}/${programmingLanguage}/" -mindepth 2 -maxdepth 2 \
16+
-exec touch -- "{}/empty.txt" \;
17+
18+
git add "${DIRECTORY}/${programmingLanguage}/"

0 commit comments

Comments
 (0)