8000 does `hardlink`'s `--exclude` prevent descending a directory? · util-linux util-linux · Discussion #3244 · GitHub
[go: up one dir, main page]

Skip to content

does hardlink's --exclude prevent descending a directory? #3244

Answered by karelzak
brianjmurrell asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, good point.

I had no clue that nftw() can react to the callback's return value in a smart way (FTW_ACTIONRETVAL). Yes, it seems we can implement --exclude-subtree easily :-)

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@karelzak
Comment options

@brianjmurrell
Comment options

@karelzak
Comment options

Answer selected by brianjmurrell
@brianjmurrell
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@brianjmurrell
Comment options

Comment options

You must be logged in to vote
2 replies
@brianjmurrell
Comment options

@karelzak
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0