Re: Mac terminal question

2017-10-10 Thread Thomas Scharkowski

 Original-Nachricht 



Am 08.10.2017 um 09:05 schrieb Jacques Menu Muzhic:

Hello Craig,

You can create a script (text) file like this one, make it executable
and accessible in your PATH:


I don’t know Mac but I assume that it can be done *MUCH* easier:

lilypond -dno-point-and-click *.ly


Yes, that's what I do here (macOs 10.13).

Thomas

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Mac terminal question

2017-10-10 Thread Malte Meyn
Not standard way for such simple things that only require a shell 
expansion of *.ly … but of course you can do that.


Am 10.10.2017 um 01:18 schrieb Ivan Kuznetsov:

You could learn how to use a makefile.  That is the
standard way to do such a thing under unix.

Maxime's Music  wrote:


What do I need to type to get lilypond to engrave all files in a folder
(wihout the point-and-click)?


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Mac terminal question

2017-10-09 Thread Ivan Kuznetsov
You could learn how to use a makefile.  That is the
standard way to do such a thing under unix.

Maxime's Music  wrote:
>
> What do I need to type to get lilypond to engrave all files in a folder
> (wihout the point-and-click)?

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Mac terminal question

2017-10-08 Thread Malte Meyn



Am 08.10.2017 um 09:05 schrieb Jacques Menu Muzhic:

Hello Craig,

You can create a script (text) file like this one, make it executable 
and accessible in your PATH:


I don’t know Mac but I assume that it can be done *MUCH* easier:

lilypond -dno-point-and-click *.ly

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Mac terminal question

2017-10-08 Thread David Kastrup
"Maxime's Music"  writes:

> Hi Lilyponders,
>
> I'm trying to run lilypond from the terminal (Mac OS 10.13) but I must be
> doing something wrong.

So what are you doing, and what is the response?

> What do I need to type to get lilypond to engrave all files in a folder
> (wihout the point-and-click)?

What already works?  Engraving single files "without the
point-and-click"?  If so, how?  If not, what is the failure?

Look, this is as helpful as posting in a dog lovers' forum "my dog is
stuck in a Ford model #2396, I must be doing something wrong.  What do I
need to get it out?"

You are assuming that everybody knows what your problem is, you are
assuming everybody knows what you are doing, you are assuming everybody
is familiar with your setup.

If you want to tap the wisdom of the list, restricting those able to
help to people already intimately familiar with your car model and your
dog's anatomy is just not prudent.

MacOSX is a UNIX derivative, so it's likely that a lot of people at best
remotely familiar with it can provide useful help given at least some
scraps of information useful to more than just insiders.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Mac terminal question

2017-10-08 Thread Jacques Menu Muzhic
Hello Craig,

You can create a script (text) file like this one, make it executable and 
accessible in your PATH:


###

user@lilydev: ~/bin > cat CompileAllLilyPondFiles 
#!/bin/bash

USAGE="==> Usage: $0 sourceFolder destFolder"

if [ $# -ne 4 ]; then
echo "$USAGE"
exit
fi

echo "--> pwd:"
pwd

SOURCE_FOLDER=$1
DEST_FOLDER=$2

if [ 0 == 0 ]; then
echo "SOURCE_FOLDER  = ${SOURCE_FOLDER}"
echo "DEST_FOLDER= ${DEST_FOLDER}"
fi

if [ ! -e ${DEST_FOLDER} ]; then
mkdir -p ${DEST_FOLDER}
fi

#cd ${SOURCE_FOLDER}
pwd
echo ""

set -x
for FILENAME in $(ls ${SOURCE_FOLDER}/*.ly); do
#   echo "--> FILENAME= ${FILENAME}:"   
NEWFILENAME=${FILENAME/${PATTERN}/${ERSATZ}}
lilypond ${FILENAME} -o ${DEST_FOLDER}/${NEWFILENAME}
echo ""
fi
done

ls -sal ${DEST_FOLDER}/*.ly
echo ""

###

JM

> Le 8 oct. 2017 à 03:53, Maxime's Music  a écrit :
> 
> Hi Lilyponders,
> 
> What do I need to type to get lilypond to engrave all files in a folder 
> (wihout the point-and-click)?
> 
> All the best,
> 
> Craig
> 
> 
> -- 
> Craig Dabelstein
> Maxime's Music
> craig.dabelst...@gmail.com 
> http://maximesmusic.com 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user