#!/bin/sh # Check input if [ $# != 1 ]; then echo "usage: $0 project_directory"; exit; fi cd $1 date > ../../tree.txt tree -F . >> ../../tree.txt