Print directory_structure.sh

while using tree command according to Milestone 4, when i run the script locally then the output is correct, but when i submit it for assement then according to unitTesting report it is only printing the other tthree directories and three files,no output is shown for the file inside backup.

Are you copying the vspdf.log file correctly into the backup folder?

Also, make sure your copying the file not relative to your directory structure, but also to other crio user’s. Only in that will the answer be correct and pass the test cases.

Good Luck :slight_smile:

yes,i did everything getting same correct o/p in shell .everytime i’m moving to home directory
can i share the code?

Hey you have to write the Bash Script in such a way that the output can be obtained no matter what the parent directory is

ls: cannot access ‘/home/crio-user/workspace/QBox/logs/’: No such file or directory

I am getting this issue again and again. In the assessment log file.
But working fine in my workspace.