Niki Kovacs
2008-Mar-08 13:05 UTC
[CentOS] Syntax question: svn propset on multiple file types?
Hi, I'm currently using SVN for writing some docs with LaTeX, and I wonder how I could possible tell SVN to ignore all *.log, *.aux and *.dvi files. I know how it can be done for one at a time. Let's say my files are in the docs/ directory. Then I'd go into the parent directory and do: $ svn propset svn:ignore *.log docs/ But what should the command be if I wanted to ignore *.log, *.aux and *.dvi? thanks, Niki
Vincent Knecht
2008-Mar-08 13:22 UTC
[CentOS] Syntax question: svn propset on multiple file types?
> Hi, > > I'm currently using SVN for writing some docs with LaTeX, and I wonder > how I could possible tell SVN to ignore all *.log, *.aux and *.dvi > files. I know how it can be done for one at a time. Let's say my files > are in the docs/ directory. Then I'd go into the parent directory and do: > > $ svn propset svn:ignore *.log docs/ > > But what should the command be if I wanted to ignore *.log, *.aux and *.dvi?Hello, create a file with one expression by line, ie: *.log *.aux *.dvi then use svn "-F file" option to give it the list.
Filipe Brandenburger
2008-Mar-08 14:40 UTC
[CentOS] Syntax question: svn propset on multiple file types?
Hi, On Sat, Mar 8, 2008 at 8:05 AM, Niki Kovacs <contact at kikinovak.net> wrote:> I'm currently using SVN for writing some docs with LaTeX, and I wonder > how I could possible tell SVN to ignore all *.log, *.aux and *.dvi > files. I know how it can be done for one at a time. Let's say my files > are in the docs/ directory. Then I'd go into the parent directory and do: > > $ svn propset svn:ignore *.log docs/ > > But what should the command be if I wanted to ignore *.log, *.aux and *.dvi?You may also use: $ svn propedit svn:ignore docs/ This will open an editor, then you may list your patterns to ignore one per line. Filipe