RedditDownloader icon indicating copy to clipboard operation
RedditDownloader copied to clipboard

Option to skip file if name already exists

Open scubanarc opened this issue 4 years ago • 4 comments

Is your feature request related to a problem? Please describe.

Currently, if a download goes bad, breaks, or RMD otherwise crashes, then on the next run a downloaded media file gets the name:

name.ext.ext

Then if you crash again, you get:

name.ext.ext.ext

And so on.

Describe the solution you'd like:

Provide an option that says "If a file exists with the same base name (minus the extension) as an existing file, then skip downloading the file.

Additional context:

Please?

scubanarc avatar Sep 22 '21 21:09 scubanarc

This is a consequence of the way this version of RMD tracks files. This has been fixed in the rewrite, which should greatly enhance file handling.

shadowmoose avatar Sep 23 '21 22:09 shadowmoose

Very exciting. When can we get a look at it?

scubanarc avatar Sep 24 '21 00:09 scubanarc

The rewrite is under active development in the rmd-typescript branch of this project. It's runnable at the moment in a developer mode for early testing purposes, but I don't consider it stable yet and can't offer backwards compatibility when the first real release happens.

shadowmoose avatar Sep 24 '21 22:09 shadowmoose

@shadowmoose , could you give guidance on how someone might patch the current version to prevent this issue?

Steveders avatar Jul 21 '22 20:07 Steveders