directory merging in bash