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

install: verbose - list all created directories #3420

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

sylvestre
Copy link
Contributor

$ install -Dv source_file1 sub3/a/b/c/file
install: creating directory 'sub3'
install: creating directory 'sub3/a'
install: creating directory 'sub3/a/b'
install: creating directory 'sub3/a/b/c'
'source_file1' -> 'sub3/a/b/c/file'

Necessary step for tests/install/basic-1.sh

@sylvestre sylvestre force-pushed the install-verbose branch 3 times, most recently from 85b814a to 4a4b921 Compare April 17, 2022 22:49
Copy link
Member

@tertsdiepraam tertsdiepraam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a slightly different behaviour in GNU. If I create the directories sub3 and sub3/a first, then the output should be:

❯ install -Dv source_file1 sub3/a/b/c/file
install: creating directory 'sub3/a/b'
install: creating directory 'sub3/a/b/c'
'source_file1' -> 'sub3/a/b/c/file'

@sylvestre
Copy link
Contributor Author

Oh, smart, thanks :)

$ install -Dv source_file1 sub3/a/b/c/file
install: creating directory 'sub3'
install: creating directory 'sub3/a'
install: creating directory 'sub3/a/b'
install: creating directory 'sub3/a/b/c'
'source_file1' -> 'sub3/a/b/c/file'
@sylvestre
Copy link
Contributor Author

I think i did it :)

@tertsdiepraam tertsdiepraam merged commit cce2eeb into uutils:main Apr 19, 2022
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

Successfully merging this pull request may close these issues.

2 participants