TIL about this weird GNU cp syntax to copy a directory while renaming it without...

@annika@xoxo.zone

TIL about this weird GNU cp syntax to copy a directory while renaming it without the normal "copy into target if it's a directory" behaviour unix.stackexchange.com/a/412262

cp -r /src/foo/. /dest/bar