marimo icon indicating copy to clipboard operation
marimo copied to clipboard

export and convert with same filename lead to file overwrite

Open s-celles opened this issue 1 year ago • 2 comments

Description

Hello,

export and convert marimo command can lead to overwrite existing file if (by mistake) user use same file name for input and output.

Best regards

Suggested solution

if input and output file are the same marimo should ask confirmation from user y/N (default N)

if ouput file name is an ever existing file which will be overwriten it should also ask confirmation from user y/N

(we are all humans and make mistakes... if software can help to avoid some that will be great)

Alternative

No response

Additional context

No response

s-celles avatar Dec 01 '24 08:12 s-celles

@s-celles this would be nice to have. Any interest in contributing this one?

mscolnick avatar Dec 01 '24 14:12 mscolnick

Sorry @mscolnick I'm very busy this month and won't have the time to tackle this.

s-celles avatar Dec 01 '24 16:12 s-celles