Need to choose subdirectory in directory to use it.
I see it in this way.
This is /SampleDir/ and it has /SubDir1/, /SubDir2/ and /SubDir3/
User enter the directory location, program search it and give to user list of SubDirectories in this Dir, user choose with exactly subdir he want to work just click the number of list:
echo "Сhoose Directory:n" read SOMEDIR // #check nubmber of subdirs echo "In directory you have multiple subdir's, which one do you want to use" // #choose subdir // #Any operation, like Remove SubDir
- And same in Terminal
In directory you have multiple subdir’s, which one do you want to use:
Thanks a lot