gnu tar's `tar --exclude-vcs-ignores` does not work with whitelist .gitignore“tar --exclude-backups” does...
What is the oldest instrument ever?
How can I test a shell script in a "safe environment" to avoid harm to my computer?
Do these creatures from the Tomb of Annihilation campaign speak Common?
What are these pads?
Can I bring back Planetary Romance as a genre?
Would the rotation of the starfield from a ring station be too disorienting?
Are wands in any sort of book going to be too much like Harry Potter?
Expl3 and recent xparse on overleaf: No expl3 loader detected
Why is there a cap on 401k contributions?
While drilling into kitchen wall, hit a wire - any advice?
Crime rates in a post-scarcity economy
My perfect evil overlord plan... or is it?
I'm attempting to understand my 401k match and how much I need to contribute to maximize the match
Program for finding longest run of zeros from a list of 100 random integers which are either 0 or 1
How can one see if an address is multisig?
GLM: Modelling proportional data - account for variation in total sample size
99 coins into the sacks
Why is it wrong to *implement* myself a known, published, widely believed to be secure crypto algorithm?
How do I give a darkroom course without negatives from the attendees?
Two (probably) equal real numbers which are not proved to be equal?
My parents are Afghan
Exactly which act of bravery are Luke and Han awarded a medal for?
Magical Modulo Squares
Capturing the entire webpage with WebExecute's CaptureImage
gnu tar's `tar --exclude-vcs-ignores` does not work with whitelist .gitignore
“tar --exclude-backups” does not exclude files with tilde at endWhy does my tar not work?Exclude subdirectory of included directory with tartar is not obeying --exclude-vcsTar --absolute-names flag does not workExclude some files when extracting with tarWhy --exclude of tar doesn't workGNU tar with --exclude-cache fails to exclude directories containing a CACHEDIR.TAG filetar --exclude '*/logs' doesn't workRecursively exclude directory with pattern using tar
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
tar (GNU tar) 1.29
if the .gitignore looks like this:
*.bak
*.log
It can work properly.
However, if we first ignore all then include some of the pattern:
# ignore everything recursively
#*
#but not dirs
#!*/
#white list following
#!.gitignore
#!*.pdf
It ends up an empty folder in tar ball.
Any idea why? bugs?
tar
add a comment |
tar (GNU tar) 1.29
if the .gitignore looks like this:
*.bak
*.log
It can work properly.
However, if we first ignore all then include some of the pattern:
# ignore everything recursively
#*
#but not dirs
#!*/
#white list following
#!.gitignore
#!*.pdf
It ends up an empty folder in tar ball.
Any idea why? bugs?
tar
add a comment |
tar (GNU tar) 1.29
if the .gitignore looks like this:
*.bak
*.log
It can work properly.
However, if we first ignore all then include some of the pattern:
# ignore everything recursively
#*
#but not dirs
#!*/
#white list following
#!.gitignore
#!*.pdf
It ends up an empty folder in tar ball.
Any idea why? bugs?
tar
tar (GNU tar) 1.29
if the .gitignore looks like this:
*.bak
*.log
It can work properly.
However, if we first ignore all then include some of the pattern:
# ignore everything recursively
#*
#but not dirs
#!*/
#white list following
#!.gitignore
#!*.pdf
It ends up an empty folder in tar ball.
Any idea why? bugs?
tar
tar
asked 2 hours ago
WangWang
281414
281414
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f517677%2fgnu-tars-tar-exclude-vcs-ignores-does-not-work-with-whitelist-gitignore%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f517677%2fgnu-tars-tar-exclude-vcs-ignores-does-not-work-with-whitelist-gitignore%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown