This script will automate downloading files from a CID. It will also create a directory with the same name as the CID and download the files there.
python download.py <CID>
Note: The files will be downloaded to ./downloads/<CID>/
directory.
python list.py <CID>
Note: You might need to run ipfs daemon as well
Reference: https://docs-ipfs-tech.ipns.dweb.link/install/command-line/#install-official-binary-distributions
ipfs daemon
WebUI: http://127.0.0.1:5001/webui
ipfs get <CID>/<filename> -o <filename>