Next: , Previous: A Simple Example, Up: Top



4 abcsh command line options.

The format for running the abcsh program is:

     abcsh option ...

abcsh supports the following options:

--interactive
-i
Prompt for confirmation.
--dry-run
Take no real actions.
--no-warn
Disable warnings.
--quiet
--silent
-q
Inhibit usual output.
--verbose
-v
Print more information.
--directory=directory
Use the specified directory. Reads in any ABC Notation files found into the abcsh buffer.
--cd=directory
Change to directory before proceeding.
--help
-?
Print an informative help message describing the options and then exit successfully.
--usage
Briefly list the options.
--version
-V
Print the version number of abcsh on the standard output and then exit successfully.
--abc-input=FILE
-a FILE
Read in an ABC music notation file into the abcsh buffer.
--abc-output=FILE
-A FILE
Write out the current contents of the abcsh buffer as an ABC music notation file.
--count
-c
List the number of tunes, voices and measures in the abcsh buffer
--renumber=START_NO
-r START_NO
Renumber the X fields in the abcsh buffer. If a starting number is provided then start renumber from that value. E.g. –renumber=4 would renumber the first tune in the abcsh buffer as X:4 and the next as X:5 and so on.
--select=TUNE/VOICE/MEASURE
-s TUNE/VOICE/MEASURE
Select some content in the abcsh buffer for processing. E.g. –select=10/2,3,5/1-50 would select tune number 10, voices 2, 3 and 5, measures 1 through 50 for the next operation.

Select without tune, voice and measure values would clear the current select values make the whole buffer visible for processing.

--musicxml-input=FILE
-x FILE
Read a MusicXML file into the abcsh buffer.
--musicxml-output=FILE
-X FILE
Write out the contents of the abcsh buffer as a MusicXML file.