create directory recursively bash mkdir code example
Example 1: make recursive directory linux
mkdir -p file/sub_file/subfile2
Example 2: bash make recursive directory
mkdir -p "$BACKUP_DIR/$client/$year/$month/$day"
mkdir -p file/sub_file/subfile2
mkdir -p "$BACKUP_DIR/$client/$year/$month/$day"