💾 Archived View for ibert.tech › articles › put-additional-files-under-cvs-control.gmi captured on 2024-08-24 at 23:57:20. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

Put additional files under CVS control

If you have potentially added new files and directories to a CVS work area and want to put them under version control, you need to add the directories first before you can add the files.

This assumes that the new files do not have names with white space in them.

find . -type d \! -name CVS | while read i
do
    if [ -d $i/CVS ]
    then
        :
    else
        cvs -q add $i
    fi
done

cvs -qn update | awk '$1 == "?" {print $2}' | xargs cvs -q add

Tags

cvs

linux

script

Start page