Linux copy (cp)

Last modified on July 24, 2026 • 1 min read • 23 words
In order to copy all xml files from one directory to another without overwriting existing files with the same name:cp -vnpr /source/.xml /destination
In order to copy all xml files from one directory to another without overwriting existing files with the same name:cp -vnpr /source/*.xml /destination