info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS import of specific files


From: Russ Sherk
Subject: Re: CVS import of specific files
Date: Tue, 18 Oct 2005 08:32:49 -0400



On 18 Oct 2005 04:25:11 -0700, Amit <address@hidden> wrote:
Hi,
I have a situation here in which I am required to do a CVS import for
some selected files. I have the file pattern list with me. The issue
here is that CVS import works the other way. Give it a pattern and it
ignores it.
e.g., I just want to import the *.xml files into the repository, and
not any other related or derived files.
Is there a way to do this?

Make a new file list (hope you're on unix...):
cd  myDir/..
find * -not -name "*.xml" > newFilePatternList

On windows, you'll sort of have to fake it (and get a windows version of grep - http://www.interlog.com/~tcharron/grep.html is a nice version for win ** includes a recursive option!):
cd myDir\..
dir *.* /s/b | grep -v ".xml$" > newFilePatternList.txt

Hope this helps.

--Russ

Any help would be deeply appreciated.

_______________________________________________
Info-cvs mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/info-cvs


reply via email to

[Prev in Thread] Current Thread [Next in Thread]