Find all files with the extension .pdf in the entire system, take the first 500 of them, and move them to the folder named "files".
find / -type f -name '*.pdf' | head -n 500 | xargs -I {} mv {} files/