It may sound hacky to put commands like that in a shell script, but really, that's what the world is made of, and it works. The WMF uses a bunch of shell script wrappers around known tools (rsync etc) to deploy our code to hundreds of servers at least 3 times a week. Works well enough and the internals are easy to understand by everyone ("Oh, rsync, I know how to deal with that...").
Christopher Allan Webber, Matt Molyneaux likes this.