Flatten directories Turn a nested directory into a single flat directory. Features Regex patterns Avoids duplicate filenames Usage To run: ./flatten_directories.sh <target_directory> You can get more help with ./flatten_directories.sh -h Running tests To run unit tests: bats ./tests.sh