There are great videos for understanding how it works [0]. I watched a couple of those and after that was able to do exactly what I needed.
For me the trickiest thing is remembering how to deal with redirection. I find the --dry-run option to be super useful when setting up a command.
[0]: https://www.youtube.com/playlist?list=PL284C9FF2488BC6D1