Zip and archive to other directoryFind recursively all archive files of diverse archive formats and search...
Are there any “Third Order” acronyms used in space exploration?
What if I don't know whether my program will be linked to a GPL library or not?
Why does '/' contain '..'?
In what sequence should an advanced civilization teach technology to medieval society to maximize rate of adoption?
Is it better to use mosfet with gate driver IC or mosfet with lower VGs on
Did Sauron ever betray Morgoth?
Madrid to London w/ Expired 90/180 days stay as US citizen
Which version of the Pigeonhole principle is correct? One is far stronger than the other
Smooth irreducible subvarieties in an algebraic group that are stable under power maps
How to make classical firearms effective on space habitats despite the coriolis effect?
What is the origin of the "being immortal sucks" trope?
Other than good shoes and a stick, what are some ways to preserve your knees on long hikes?
Why is it called a stateful and a stateless firewall?
Amortized Loans seem to benefit the bank more than the customer
How many people need to succeed in a group check with three people?
How to give my students a straightedge instead of a ruler
Floating Point XOR
Why would a fighter use the afterburner and air brakes at the same time?
What does “We have long ago paid the goblins of Moria,” from The Hobbit mean?
How would you translate Evangelii Nuntiandi?
Can a business put whatever they want into a contract?
Does Forgotten Realms setting count as “High magic”?
What is the source of "You can achieve a lot with hate, but even more with love" (Shakespeare?)
Is it possible that the shadow of the moon is a single dot during solar eclipse?
Zip and archive to other directory
Find recursively all archive files of diverse archive formats and search them for file name patternsHow to extract a single file from tbzFind an archive and extract it in the directory where it is locatedArchive for root file system with quick random accessTar directory into independent archive files no larger than a certain sizeExtracting files to current directoryUnix unzip is failing but Mac Archive Utility worksArchive big data into multiple parts
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have some 250 CSV source files in the incoming directory.
My task is to merge those CSV files and generate a file like Merge_
.
the Informatica Job will then pick the merge file as the source and work.
Now the merge part is taken care of. I want all the CSV files to be zipped and archived to another directory say /source/archive
as soon as the merge file is generated.
Also, I want the Merge_
file to remain like that and untouched.
I am aware of how to zip and tar separately but not sure how to combine both and move to some other directory.
shell-script tar archive
add a comment
|
I have some 250 CSV source files in the incoming directory.
My task is to merge those CSV files and generate a file like Merge_
.
the Informatica Job will then pick the merge file as the source and work.
Now the merge part is taken care of. I want all the CSV files to be zipped and archived to another directory say /source/archive
as soon as the merge file is generated.
Also, I want the Merge_
file to remain like that and untouched.
I am aware of how to zip and tar separately but not sure how to combine both and move to some other directory.
shell-script tar archive
add a comment
|
I have some 250 CSV source files in the incoming directory.
My task is to merge those CSV files and generate a file like Merge_
.
the Informatica Job will then pick the merge file as the source and work.
Now the merge part is taken care of. I want all the CSV files to be zipped and archived to another directory say /source/archive
as soon as the merge file is generated.
Also, I want the Merge_
file to remain like that and untouched.
I am aware of how to zip and tar separately but not sure how to combine both and move to some other directory.
shell-script tar archive
I have some 250 CSV source files in the incoming directory.
My task is to merge those CSV files and generate a file like Merge_
.
the Informatica Job will then pick the merge file as the source and work.
Now the merge part is taken care of. I want all the CSV files to be zipped and archived to another directory say /source/archive
as soon as the merge file is generated.
Also, I want the Merge_
file to remain like that and untouched.
I am aware of how to zip and tar separately but not sure how to combine both and move to some other directory.
shell-script tar archive
shell-script tar archive
edited 15 mins ago
mnille
4054 silver badges12 bronze badges
4054 silver badges12 bronze badges
asked 29 mins ago
user3901666user3901666
306 bronze badges
306 bronze badges
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/4.0/"u003ecc by-sa 4.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%2f541959%2fzip-and-archive-to-other-directory%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%2f541959%2fzip-and-archive-to-other-directory%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