Ok, here’s a script that runs in PowerShell. But I tested it in Linux, so I might need some feedback. There might be pathing descrepancies. It would be neat if the shell could retry files after timeouts, but that is more than I am up to today.
With this version, you make a file for your password, for your user id (email address), and for your list of files. From the comments
# Example usage:
# <this scriptname> [FileList] [Password File] [User Id File] [Download Dir]
# Where
# [FileList] is a file with a list of projects/files you want to download.
# Do not include the .html extension.
# [Password File] is file with your password (so it doesn't need to be hard-coded here)
# Defaults to "./thostpass.txt"
# [User Id File] is a file with your user id (usually your email)
# Defaults to "./user.txt"
# [Download Dir] is the name of the directory where you want your downloads to go.
# Defaults to "." (current directory)
So FileList is a file with a list of the files you want to process. One name per line.
You can also specify parameters with parameter names, rather than by order.
If you have an error with one file, it will skip to the next. So watch the output for error messages. This is different from the bash shell script, where an error with one file would terminate the program.
In terms of warnings, well, do not try this where it will over-write your existing backups … in case there’s something wrong with these backups. If you try this, let me know if the status field returns a number, because on Linux it doesn’t.