Is that possible to make `cp -R /dir/ .` be the same as `cp -R /dir .`?
Solution 1:
If you use homebrew, you can install the coreutils
package, which provides GNU cp (gcp
), which behaves the way you are familiar with. Then, you could set
alias cp=/path/to/homebrew/gcp
in your profile to prefer that version.