How can I copy file recursively ignoring destination directory structure?
Use find
to find the files, and cp
to copy them.
find source/ -type f -exec cp -t destination/ {} +
Use find
to find the files, and cp
to copy them.
find source/ -type f -exec cp -t destination/ {} +