Fork me on GitHub
#babashka
<
2022-05-07
>
sheluchin13:05:20

Is there any way to create sequentially numbered files with (shell :out ...)? Like, if a backup.dmp already exists at the destination, create a new backup-1.dmp instead of overwriting the original.

borkdude13:05:45

Sure, but you have to program this yourself

sheluchin13:05:50

Do you think it's a reasonable thing to add to the API? Is it a common enough operation?

borkdude13:05:46

I've never heard this request before so for now I'd say do it yourself

sheluchin13:05:25

Fair enough. Thank you.