|
From: | -Eluze |
Subject: | doc for convert-ly |
Date: | Mon, 6 Jul 2009 01:45:44 -0700 (PDT) |
in fact i believe that the simple invocation (convert-ly -e myfile.ly) is good for nearly all purposes. my proposal therefore is this reduced text with examples:
convert-ly
Syntax
convert-ly[.py] [-option(s)] [filename.ext] [filename.ext]
Options
-e, --edit edit in place; this also creates a backup file (with "~" appended to the extension) *
-f, --from=VERSION use this starting version - this is needed if there are files with no \version - typically \include files.
Other options may be of interest for development or special cases and can be viewed with the command convert-ly -h
or just convert-ly
.
Filename
The filename can be entered directly or with wildcards (* or ?); if it contains blanks it has to be enclosed in triple double quotes e.g. """name with blanks.ly"""
If a full path is entered there is no need to change to the directory of the file to be converted.
Examples
convert-ly -e myfile.ly
convert-ly -e *.ly
converts all lilypond files in a directory
convert-ly -e Bach*.ly
converts all lilypond files beginning with "Bach"
convert-ly -e """C:\my lilypond scores\Chopin\Grande valse.ly"""
using the full path containing blanks as well as the filename.
Specials ...
convert-ly is not limited to the extension ".ly".
Beware: applying 2 conversions consecutively will overwrite the first backup! May be it is a good idea to backup your files and folders yourself!
View this message in context: doc for convert-ly
Sent from the Gnu - Lilypond - Dev mailing list archive at Nabble.com.
[Prev in Thread] | Current Thread | [Next in Thread] |