You can use the find command in *Unix.
Go to the directory that you want to get the subdirectories and do this command:
find . -type d |
---|
Types:
d - directory
f - file
l - symbolic link
----------------------
other way:
In the directory that you want, do this command:
ls -ltr | grep ^d |
---|
*this command does not get all existing subdirectories.
Nenhum comentário:
Postar um comentário