Skip to content

Remove all files and folders except a directory from a particular archive #8254

Answered by ThomasWaldmann
blueray453 asked this question in Q&A
Discussion options

You must be logged in to vote

Ehrm, for the R (root paths), you need to give a valid path. Using a relative path there might work if the cwd is right (in your case cwd == /, I guess), but giving an absolute path there is less prone to break.

The patterns file might be right with the leading slash removed, just try it with --list --dry-run.

Replies: 3 comments 5 replies

Comment options

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

Comment options

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

@ThomasWaldmann
Comment options

Answer selected by blueray453
Comment options

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

@blueray453
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