Copying all files of a directory, including hidden ones, with cp Posted on 20th February 2025 Collected in LinuxRHCSA I outline my exploration of why cp -R src/. dest copies contents of src â that too all its files, including hidden ones â and not src itself, as src/. had initially led me to believe. This is because of how the algorithm of cp is defined. There are two directories - a non-empty src
{{#tags}}- {{label}}
{{/tags}}