How can I CVS-transfer the binary from the command line?

I need to transfer the jar file in binary mode from the command line.

Which command should be used? The following does not work:

$ cvs commit -kb -m "Committing v2.5.7" myJar.jar Usage: cvs commit [-Rlf] [-m msg | -F logfile] [-r rev] files... -R Process directories recursively. -l Local directory only (not recursive). -f Force the file to be committed; disables recursion. -F logfile Read the log message from file. -m msg Log message. -r rev Commit to this branch or trunk revision. 
+6
source share
2 answers
 cvs add -kb myJar.jar cvs commit -m "Committing v2.5.7" myJar.jar 

If you have already done this without -kb , you can use

 cvs admin -kb myJar.jar 

You can also use CVSROOT/cvswrappers to indicate that all *.jar are binary.

+17
source

to try:

 cvs add -kb filename 

then lock it

+4
source

Source: https://habr.com/ru/post/900073/


All Articles