-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Samstag, 15. August 2009 01:54:17 schrieb Carl Sorensen:
> A related problem is that when I run convert-ly as
>
> find input/regression *.ly | xargs convert-ly -e --from "2.13.3"
>
> it does a convert-ly on all the files in input/regression/out/* and
> input/regression/out-www/*. I don't want to mess with those files; they're
> created by the build system.
Hmm, the find call above is wrong, I suppose it should be
find input/regression/ -name '*.ly'
Anyway, you don't mind about any subdir, right? In that case, I would simply
use
ls input/regression/*.ly | xargs ...
instead.
> I've been trying to figure out how to get find to ignore any subdirectories
> called out/ or out-*/, but haven't been able to figure it out yet. Any
> help would be appreciated.
I don't think there is a way to do it directly. You might filter the results
through grep, though:
find input/regression *.ly | grep -v out- |grep -v /out/ |xargs convert-ly -e \
- --from "2.13.3"
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, [email protected], http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKhf3sTqjEwhXvPN0RAr23AJ445S1Pp8aumZMZYifQfaVdTU9FqQCdGS3s
LQJj/bP9s0q1yKOUwp06czQ=
=ms6c
-----END PGP SIGNATURE-----
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel