Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

1 Answer 1

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 at 7:40

Your Answer

 
discard

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.