i have many directories like this:
$ ls
1_true 1_false 2_true 2_false 3_true 3_false ...
i want to copy files in "*_true/" to other directory.
when i run command like below
find . -name "*_true" -exec cp "{}"/* "../out_true" ";"
this give me error messages like this:
cp: cannot stat './1_true/*': No such file or directory
cp: cannot stat './2_true/*': No such file or directory
cp: cannot stat './3_true/*': No such file or directory
...
how to fix this error? thanks!
NOTE: my 'true' directories count is more than 100000
... -exec echo cp ...
to see what's happening