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.

Customize backup extension name

See original GitHub issue

We want to use the presence of a backed up jar file to know that it has been remediated already via other tools. The problem is .bak is a ubiquitous extension and may not actually indicate the jar next to it was remediated, it could have been created for any reason. Allowing customization would allow for us to save the backup file as something like .log4j.bak

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jgstewcommented, Dec 17, 2021

I agree, that makes sense. Or maybe even .log4jscan.bak?

0reactions
xeraphcommented, Dec 21, 2021

@strawgate --backup-ext option is added in v2.5.2. Would you try it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Backup Names (Comparing and Merging Files) - GNU.org
10.9 Backup File Names. Normally, patch renames an original input file into a backup file by appending to its name the extension '...
Read more >
How to customize the backup file name? · Issue #109 - GitHub
Now,the backup file name is generated by the following function,the format only be “name-timestamp-ext”, but i need other format,Such as “name-ext-timestamp”.
Read more >
Setting a filename for backup files written to external drives
You can further customize your backup filename by inserting unique variables: Click Insert variable. Choose a variable from the list. The variable will...
Read more >
Backup file with .bak _before_ filename extension
Yes, the 'backup' file is just a CMA for making a small change, which I should rm as soon as I'm done. But...
Read more >
Backup file extensions list
File extensions used for backup formats are other file backup security related file types. ; nco file icon file extension nco, Nero BackItUp...
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