I tried to redirect the result in a directory but it won't let me do it. What am I doing wrong ?
find Documents/ -type f -regextype posix-egrep -regex ".+\.(doc|err|out)$" > Poubelle/
bash: Poubelle/: Is a directory
What I'm trying to do is move the listed files in Poubelle.
Thank you in advance