cp: -r or -R?
Summary
The post examines the historical difference between cp -r and -R, noting that GNU coreutils merged the options decades ago and that today they are effectively the same. It also highlights OpenBSD and NetBSD practices of using -R and discusses POSIX guidance favoring -R for consistency across utilities. The piece emphasizes why portable scripting should prefer -R to avoid cross-system inconsistencies.