it would nice to have a backup in convert-ly which deserves the name.

actually convert-ly does backup the file being converted - but always to the
same file (filename.~ly), and so the original gets quickly lost if you press
the convert button twice.

I fancy a simple rule for this: add an increasing number to the backup file.
this way you can check if a file already exists, if yes-> increase the
number, if no -> backup using this last number.

running convert-ly more than once on the same file would then result in

myFile.~ly.1
myFile.~ly.2
myFile.~ly.3
…

thanks!

Eluze





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/backup-files-from-convert-ly-are-overriden-tp151177.html
Sent from the Bugs mailing list archive at Nabble.com.

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to