question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Idea: shot-scraper multi --if-not-exists or --skip-existing

See original GitHub issue

Only does the screenshot if the output: file doesn’t exist yet.

This could be used to build a very neat GitHub mechanism for creating a portfolio of screenshots of your projects.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
simonwcommented, Apr 18, 2022

This prompt worked better:

See text below

Command line tools with a skip existing option:

  1. cp with the -n or --no-clobber option
  2. mv with the -n or --no-clobber option
  3. ln with the -n or --no-target-directory option
  4. tar with the --skip-existing option
0reactions
simonwcommented, Apr 18, 2022

Feedback on Twitter: --no-clobber makes no sense at all to non-English speakers, whereas --skip-existing does: https://twitter.com/kim_vanwyk/status/1516114233255202827

wget calls it no-clobber which I understood when I read it. I did wonder though if “clobber” is meaningful to non-British-english speakers. It strikes me as British slang.

I think I’m going to embrace the Britishness of it though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

shot-scraper: automated screenshots for documentation, built ...
Introducing shot-scraper​​ The README describes all of the available options you can use when taking a screenshot. Each option can be provided to ......
Read more >
shot-scraper - a tool for Datasette
shot-scraper. PyPI Changelog Tests License. A command-line utility for taking automated screenshots of websites. For background on this project see ...
Read more >
A comand-line utility for taking automated screenshots of websites
Idea: shot-scraper multi --if-not-exists or --skip-existing. Only does the screenshot if the output: file doesn't exist yet. This could be used to build...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found