pynps icon indicating copy to clipboard operation
pynps copied to clipboard

[enchancement] Skip the download if .zip file exists and passes checksum check

Open Pretzelek opened this issue 4 years ago • 1 comments

Hello I think it would be great if the app would skip download if the .zip file (created with the -zip option) exists and is valid. This would make keeping the content up to date with new entries.

Pretzelek avatar Oct 29 '21 18:10 Pretzelek

I'd like something like this, but verification could be done using zipped pkgs instead of extracted zips... based on checksum. That way, the zip files could be named anything, but pyNPS would be smart enough to not care about that and just check the pkgs themselves in the zips.

Example:

❯ unzip -l "PKG/PSV/GAMES/Random Game [PCSA01234] [USA].zip"
Archive:  PKG/PSV/GAMES/Random Game [PCSA01234] [USA].zip
  Length      Date    Time    Name
---------  ---------- -----   ----
800000000  05-31-2023 06:00   xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.pkg
---------                     -------
800000000                     1 file

lasers avatar May 31 '23 22:05 lasers