Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

Let's assume the following structure of a folder called scripts.

├── scripts
│   └── .scripts
│       ├── script1
│       ├── script2
│       └── script3
│   └── .config
│       ├── script4
│       ├── script5
│       └── script6

When using stow scripts, both folders within scripts will be symlinked to ~/.scripts and ~/.config.

Can I use stow to only symlink .scripts without having to remove .config from the folder but just basically ignoring it?

share|improve this question
up vote 6 down vote accepted

stow has ignore lists which let you put a file called .stow-local-ignore at the top of your source tree. In that, you could put \.scripts to have stow ignore that directory and not link it into the target tree.

share|improve this answer
Excellent. Exactly what I was looking for. Thanks! – orschiro Mar 28 '14 at 7:40

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.