Setting down a guide about a repository, it should help the reader to look through folders and files in only that sub-folder which makes the core of the task at hand, and without any sub-sub-folders. And it would then help as well to see by the same time and in the same tree the embedding of this sub-folder into the full repository's tree of folders and files on level 1, that is, anything right below the root, but not more.
Workaround for now is to paste one tree into the other, with tab for the right indent:
- the whole list of folders and files of the root folder
- only one nested folder (
scripts
) with all of the folders and files of the first children of that folder, thus, no grandchildren level.
$ tree -La 1
and
$ tree ./scripts -La 1
$ tree -La 1.├── application...├── scripts $ tree ./scripts -La 1 ./scripts├── crontab ......└── VERSION
Is there a way to do this only with the command line? So that the output is right away:
.├── application...├── scripts├── crontab some_file1 ......└── VERSIONsome_file2
This can be answered for both Windows and Linux, shell script allowed.