Exercise: Copy Directory Tree

  • We just had a look at the directory tree at /tmp/firstname.lastname/parent

    $ tree /tmp/firstname.lastname/parent
    /tmp/firstname.lastname/parent
    ├── child
    │   ├── business-card
    │   ├── garbage1.txt
    │   └── garbage2.txt
    ├── garbage1.txt
    ├── garbage2.txt
    └── hello
    
  • Copy that tree into your home directory as ~/parent-copy so that you see the following,

    $ tree ~/parent-copy/
    /home/<you>/parent-copy/
    ├── child
    │   ├── business-card
    │   ├── garbage1.txt
    │   └── garbage2.txt
    ├── garbage1.txt
    ├── garbage2.txt
    └── hello