JAVA-21776 Renamed module names

This commit is contained in:
Dhawal Kapil
2023-06-07 12:20:38 +05:30
parent 77d4cf53ce
commit fba060a8fe
30 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
### Relevant Articles:
- [Linux Commands Looping Through Directories](https://www.baeldung.com/linux/loop-directories)

View File

@@ -0,0 +1,9 @@
#!/bin/bash
find . -maxdepth 1 -mindepth 1 -type d -printf '%f\n'
find . -maxdepth 1 -mindepth 1 -type d | while read dir; do
echo "$dir"
done
find . -maxdepth 1 -type d -exec echo {} \;

View File

@@ -0,0 +1,11 @@
#!/bin/bash
for dir in */; do
echo "$dir"
done
for file in *; do
if [ -d "$file" ]; then
echo "$file"
fi
done