declare -a list=(data backups dailystatus inbound reports )
ls ${list[0]}/${list[1]}/${list[2]}/${list[3]}/${list[4]}/
I need to check daily backups are working or not similar this I have 2 more locations for checking backup. Can someone help me to find out the better way than this?