Python Scripts: Difference between revisions

Line 680:
= Extensions Doctor =
Source: [https://askubuntu.com/questions/631900/correct-file-extensions askubuntu.com]
 
{{notice|Need to prevent overwrite of existing files using [https://stackoverflow.com/questions/31813504/move-and-replace-if-same-file-name-already-existed-in-python stackoverflow.com].}}
 
<syntaxhighlight lang="python">
Line 693 ⟶ 691:
# Verify: jpg = jpeg ignore
# Append _(1) if existing file
# write list of files before and after operation
# write modified files to list
# duplicateDuplicate remover
# : replace _