mario@linux:~> sh tree2.sh -d -r file /tmp/ d mario@linux:~> sh tree2.sh -r file -d /tmp/ r file