I have several folders with names like:

* 4553, 6723, 7765.

Inside I have a file with the same name in pdf:

* 4553.pdf, 6723.pdf, 7765.pdf

I would like to move to each folder and move the .pdf's so that they are all in one folder like "allpdf" with a script

I had tried this:

```
for folder in *; do
  cd $folder
  mv "*.pdf" "../"
done

```