====== Ubuntu - wget - Quit Downloading When it Exceeds Certain Size ====== When you want to stop download when it crosses 5 MB you can use the following wget command line. wget -Q5m -i FILE-WHICH-HAS-URLS **NOTE**: This quota will not get effect when you do a download a single URL. That is irrespective of the quota size everything will get downloaded when you specify a single file. This quota is applicable only for recursive downloads.