Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stow --simulate should show --adopt actions #81

Closed
ilyagr opened this issue Feb 28, 2021 · 2 comments
Closed

stow --simulate should show --adopt actions #81

ilyagr opened this issue Feb 28, 2021 · 2 comments

Comments

@ilyagr
Copy link
Contributor

ilyagr commented Feb 28, 2021

Currently, running stow --simulate does not report files that would be adopted with --adopt. For example,

$ mkdir -p stow/test && cd stow
$ echo Text > ../file
$ touch test/file
$ stow --adopt test --simulate
WARNING: in simulation mode so not modifying filesystem.

No actions that stow would perform are reported, even though actually running stow --adopt test would adopt the file file:

$ stow -v --adopt test
MV: file -> stow/test/file
LINK: file => stow/test/file
@ilyagr
Copy link
Contributor Author

ilyagr commented Feb 28, 2021

Never mind. I realized --simulate is useless without -v.

@tarikwaleed
Copy link

got the error stow: ERROR: slashes are not permited in package names when using `stow --simulate -v --target=/path/to/target/tree /path/to/source/tree
what wrong I'm doing??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants