Stephan Beal wrote: > On Mon, Dec 28, 2009 at 4:30 PM, Jeff Doar > <[email protected] <mailto:[email protected]>> > wrote: > > I'd like to write "blah blah blah" into a text file and the names of > file1.txt...fileXXX.txt into a second text file, then execute: > > > fossil commit -m messagefile.txt -files filesToCommit.txt > > Is this possible with the current version of fossil? > > > If you're using Unix: > > fossil commit -M messagefile.txt $(cat filesToCommit.txt) > > some shells don't support $(...), but use backticks instead: > > fossil commit -M messagefile.txt `cat filesToCommit.txt` > > if filesToCommit.txt is extraordinarly long then this will overflow the > number of args allowed by the shell (this is platform/shell-dependent), > but it would have to be pretty long to violate that limit on Unix shells. > > If you're not using Unix, then good luck! :)
Thanks! However, I'm on Windows, not Unix. I'm trying to get around the Windows limit on command-line length. The limit is large (32K characters), but I'm still bumping into it in some circumstances. - JD _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

