Skip to content

Commit

Permalink
Added counting of files to tree diagram construction (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahayesgithub authored Aug 29, 2023
1 parent a7f17d1 commit c1e066b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_data/list_S3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ while IFS= read -r object; do
mkdir -p ./docs/LOG/"${name_only}"
touch ./docs/LOG/"${name_only}"index.md
echo '```' > ./docs/LOG/"${name_only}"index.md
mc tree S3/eictest/EPIC/LOG/"${name_only}" >> ./docs/LOG/"${name_only}"index.md
mc tree --files S3/eictest/EPIC/LOG/"${name_only}" | sed 's/.*\.root$//g' | uniq -c | sed 's/.*1 //' >> ./docs/LOG/"${name_only}"index.md # contructs tree diagram with count of files in each directory
echo '```' >> ./docs/LOG/"${name_only}"index.md
echo -e "- text: "$name_only"\n url: "/epic-prod/LOG/$name_only""
done <<< "$OBJECTS"

0 comments on commit c1e066b

Please sign in to comment.