Home > OS >  Looking for the past five minutes to the modified file and according to the source directory structu
Looking for the past five minutes to the modified file and according to the source directory structu

Time:11-23

The find/share - mmin - 5 - exec cp -r -f -- parents {}/mydate \;
My intention is to look for in the/share folders in the past five minutes to the modified file and copied to according to the source directory structure/mydate folder, but now is copying the files have a lot of old files, can you tell me where the problem is?

CodePudding user response:

The find/share - mmin - 5 - exec cp - f - parents {}/mydate \;
Remove the -r
  • Related