(04-30-2023, 01:22 PM)rich2005 Wrote: Maybe something like this
Code:
@echo off
copy test.png /B test
set /A "index = 1"
set /A "count = 10"
:while
if %index% leq %count% (
copy test test%index%
set /A "index = index + 1"
goto :while
)
del test
Imgur not processing video at the moment so, https://filedn.com/lkb9dw6mEfXSsOu9uKLaM14/2.mp4
Has the 'magick' number so opens in Gimp even without .png extension
Woww, thanks a lot @rich2005
I will try the code tomorrow (today I cannot access a Windows machine)
But I think I got a big XY problem (sorry ), I might need the extension after all (because of a "bug" in G'MIC, not a bug as bug... but something happens with the last period/dot in the naming when I change channel in G'MIC)
Thus after duplication, I would like to rename them depending a list.txt > https://i.imgur.com/TG1RHpL.png
on Linux I would just do
Code:
for file in *.png; do read line; mv -v "${file}" "${line}"; done < pricelist.txt
And all the file will be renamed like this > 20 second video https://imgur.com/6QuCw9Z
I try not to tell too much about the tuto to keep the "surprise" (although I'm sure that you and Ofnuts knows what it will be about, because of reddit)