* feat: additional filesystem monitoring * chore: rename setting for tmp directory * fix: restructure path to new endpoint --------- Co-authored-by: Jennifer Richards <jennifer@staff.ietf.org>
43 lines
1.1 KiB
Bash
Executable file
43 lines
1.1 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
for sub in \
|
|
/assets/archive/id \
|
|
/assets/collection \
|
|
/assets/collection/draft-archive \
|
|
/assets/ietf-ftp \
|
|
/assets/ietf-ftp/bofreq \
|
|
/assets/ietf-ftp/charter \
|
|
/assets/ietf-ftp/conflict-reviews \
|
|
/assets/ietf-ftp/internet-drafts \
|
|
/assets/ietf-ftp/rfc \
|
|
/assets/ietf-ftp/status-changes \
|
|
/assets/ietf-ftp/yang/catalogmod \
|
|
/assets/ietf-ftp/yang/draftmod \
|
|
/assets/ietf-ftp/yang/ianamod \
|
|
/assets/ietf-ftp/yang/invalmod \
|
|
/assets/ietf-ftp/yang/rfcmod \
|
|
/assets/ietfdata \
|
|
/assets/ietfdata/derived \
|
|
/assets/ietfdata/derived/bibxml \
|
|
/assets/ietfdata/derived/bibxml/bibxml-ids \
|
|
/assets/ietfdata/doc/draft/repository \
|
|
/assets/www6s \
|
|
/assets/www6s/staging \
|
|
/assets/www6s/wg-descriptions \
|
|
/assets/www6s/proceedings \
|
|
/assets/www6/ \
|
|
/assets/www6/iesg \
|
|
/assets/www6/iesg/evaluation \
|
|
/assets/media/photo \
|
|
/assets/tmp \
|
|
/assets/ftp \
|
|
/assets/ftp/charter \
|
|
/assets/ftp/internet-drafts \
|
|
/assets/ftp/review \
|
|
; do
|
|
if [ ! -d "$sub" ]; then
|
|
echo "Creating dir $sub"
|
|
mkdir -p "$sub";
|
|
fi
|
|
done
|