The following command will: print all branches that were merged to master then filter out the branch named master and the branch you are currently switched to and finally, it will delete the rest (one branch at a time). git branch --merged master | grep -v -e "\*" -e "master" |…
The following code will find all files that match the pattern 2016_*_*.log (all the log files for the year 2016). To avoid finding log files from other services than the Web API service, we filter only the files that their path contains the folder webapi. Specifically, we used "/ServerLogs/*/webapi/*" with…