Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to use this simple command, which is already recursive:

svn add *

The problem is that the shell (ash) does not expand the asterisk to hidden files, i.e. files whose name begin with a dot.

share|improve this question
up vote 3 down vote accepted

AFAIK, you just can to use:

svn add directory

Every file and subdirectory will be added correctly.

share|improve this answer

As far as I know, neither bash nor tcsh do that either. Simply use svn add * .* then.

share|improve this answer
svn: Skipping argument: '.svn' ends in a reserved name svn: warning: '.' is already under version control svn: Path '..' ends in '..', which is unsupported for this operation # svn status ? .test – dash17291 Aug 19 '12 at 15:37
@dash17291: svn add * in a directory which already is a working copy usually results in SVN complaining about items already added. Same happens when you "manually" try to add the very same file a second time. – Shi Aug 19 '12 at 16:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.