Skip to content

Instantly share code, notes, and snippets.

@lsandov1
Created November 19, 2020 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lsandov1/dc09aa67315039f8aa45fc75ab894877 to your computer and use it in GitHub Desktop.
Save lsandov1/dc09aa67315039f8aa45fc75ab894877 to your computer and use it in GitHub Desktop.
wget to downloads.tf.org
~/tmp$ mkdir spm
~/tmp$ cd spm/
~/tmp/spm$ wget -c -m -A .fd -np -nd https://downloads.trustedfirmware.org/tf-a/spm/
--2020-11-19 10:15:44-- https://downloads.trustedfirmware.org/tf-a/spm/
Resolving downloads.trustedfirmware.org (downloads.trustedfirmware.org)... 65.9.144.102, 65.9.144.9, 65.9.144.80, ...
Connecting to downloads.trustedfirmware.org (downloads.trustedfirmware.org)|65.9.144.102|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2496 (2.4K) [text/html]
Saving to: ‘index.html.tmp’
index.html.tmp 100%[======================================================================================================================>] 2.44K --.-KB/s in 0s
Last-modified header missing -- time-stamps turned off.
2020-11-19 10:15:44 (1.06 GB/s) - ‘index.html.tmp’ saved [2496/2496]
Loading robots.txt; please ignore errors.
--2020-11-19 10:15:44-- https://downloads.trustedfirmware.org/robots.txt
Reusing existing connection to downloads.trustedfirmware.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 26 [text/plain]
Saving to: ‘robots.txt.tmp’
robots.txt.tmp 100%[======================================================================================================================>] 26 --.-KB/s in 0s
2020-11-19 10:15:45 (3.29 MB/s) - ‘robots.txt.tmp’ saved [26/26]
Removing index.html.tmp since it should be rejected.
FINISHED --2020-11-19 10:15:45--
Total wall clock time: 0.6s
Downloaded: 2 files, 2.5K in 0s (247 MB/s)
~/tmp/spm$ ls -la
total 12
drwxrwxr-x 2 lsandov1 lsandov1 4096 nov 19 10:15 .
drwxr-xr-x 23 lsandov1 lsandov1 4096 nov 19 10:15 ..
-rw------- 1 lsandov1 lsandov1 26 dic 31 1979 robots.txt.tmp
~/tmp/spm$ cat robots.txt.tmp
User-agent: *
Disallow: /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment