shodan-python icon indicating copy to clipboard operation
shodan-python copied to clipboard

Warning before overwriting a file

Open nk9 opened this issue 4 years ago • 3 comments

I just downloaded 10k results before running out of credits. I didn't know that's why the download had stopped prematurely; I made a mistake and used shodan download again to the same file to continue from where I had left off.

Result: the file of 10k results was replaced with an empty file. But it's gzipped, so at least it's small!

AAAAAnyway, it would have really been preferred if the CLI had complained before blowing away the initial multi-megabyte .gz.

nk9 avatar Apr 24 '20 21:04 nk9