What is the best way to: To get dust out of a rug

OPT:
*Hang rug on a cloths line and leave it there to air out.
*Hang the rug on a cloths line and beat it with a bat.
Answer:
Hang the rug on a cloths line and beat it with a bat.