Chris Green
2021-May-08 08:48 UTC
Simplest way to copy only .log files, and then delete them?
I can see very complex ways to do this but I can't see a reasonably simple way to do it. I want to copy all *.log files from a directory hierarchy and then delete them. I want to preserve the hierarchy at the destination so (if I ever need to) I can associate the log files with the place they came from. Is the only way to exclude all files and then include '*.log' files? -- Chris Green ?