how to move files with multiple patterns to specific directory, bash?Copying files with multiple...
Opposite party turned away from voting when ballot is all opposing party
What's the difference between "ricochet" and "bounce"?
When an electron around an atom drops to a lower state, is 100% of the energy converted to a photon?
My perfect evil overlord plan... or is it?
Are there vaccine ingredients which may not be disclosed ("hidden", "trade secret", or similar)?
Exactly which act of bravery are Luke and Han awarded a medal for?
Is there an application which does HTTP PUT?
Is it safe to keep the GPU on 100% utilization for a very long time?
"I can't place her": How do Russian speakers express this idea colloquially?
Creating Stored Procedure in local db that references tables in linked server
I want to write a blog post building upon someone else's paper, how can I properly cite/credit them?
Why is there a cap on 401k contributions?
And now you see it II (the B side)
How do I minimise waste on a flight?
As a small race with a heavy weapon, does enlage remove the disadvantage?
How is it believable that Euron could so easily pull off this ambush?
What computer port is this?
Cyclic queue using an array in C#
Illegal assignment from Id to List
What are my options legally if NYC company is not paying salary?
Sed operations are not working or might i am doing it wrong?
What should I use to get rid of some kind of weed in my onions
Does this website provide consistent translation into Wookiee?
Light Switch Neutrals: Bundle all together?
how to move files with multiple patterns to specific directory, bash?
Copying files with multiple extensionsBash: move files of specific patternBash script unable to move filesMove specific directories from certain depthNeed to find latest file in multiple folders with a pattern and move to another serverMove multiple files with same name in same directoryChange permission of folder based on list.txtHow can I copy/move the same x files from one directory to another?Open multiple files in folders with specific name patternHow to move files to a folder per day
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
Need move files with multiple, defined patterns, like:
Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
from one defined folder, to another.
How it can be done in best economic way?
In a script, running from cron?
Can this patterns be defined better in same script, or get from separate textfile, containing them?
bash files wildcards move
bumped to the homepage by Community♦ 3 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Need move files with multiple, defined patterns, like:
Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
from one defined folder, to another.
How it can be done in best economic way?
In a script, running from cron?
Can this patterns be defined better in same script, or get from separate textfile, containing them?
bash files wildcards move
bumped to the homepage by Community♦ 3 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
4
"Most economic" is probably with a singlemv
with all those wildcards as its argument and the destination directory as its final argument. But it's not clear if that is actually what you want. Do all the matches go to the same destination?
– tripleee
Oct 4 '17 at 12:09
first, thanks for edition and typo. second - now, yes, i want it all to go on one destination folder, but in future i need group small patterns, by 2 - 3, to different ftp path upload each... as so, is be good to cover both possibilities, if it is possible ;)
– Draco
Oct 4 '17 at 12:12
i find alot solutions like for my problem, but only for one pattern. i here have, opposing, many different patterns, and cannot find my situation silved in google, sadly, so i come here with some hope...
– Draco
Oct 4 '17 at 12:19
add a comment |
Need move files with multiple, defined patterns, like:
Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
from one defined folder, to another.
How it can be done in best economic way?
In a script, running from cron?
Can this patterns be defined better in same script, or get from separate textfile, containing them?
bash files wildcards move
Need move files with multiple, defined patterns, like:
Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
from one defined folder, to another.
How it can be done in best economic way?
In a script, running from cron?
Can this patterns be defined better in same script, or get from separate textfile, containing them?
bash files wildcards move
bash files wildcards move
edited Oct 4 '17 at 12:08
tripleee
5,31811931
5,31811931
asked Oct 4 '17 at 12:06
DracoDraco
12
12
bumped to the homepage by Community♦ 3 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 3 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
4
"Most economic" is probably with a singlemv
with all those wildcards as its argument and the destination directory as its final argument. But it's not clear if that is actually what you want. Do all the matches go to the same destination?
– tripleee
Oct 4 '17 at 12:09
first, thanks for edition and typo. second - now, yes, i want it all to go on one destination folder, but in future i need group small patterns, by 2 - 3, to different ftp path upload each... as so, is be good to cover both possibilities, if it is possible ;)
– Draco
Oct 4 '17 at 12:12
i find alot solutions like for my problem, but only for one pattern. i here have, opposing, many different patterns, and cannot find my situation silved in google, sadly, so i come here with some hope...
– Draco
Oct 4 '17 at 12:19
add a comment |
4
"Most economic" is probably with a singlemv
with all those wildcards as its argument and the destination directory as its final argument. But it's not clear if that is actually what you want. Do all the matches go to the same destination?
– tripleee
Oct 4 '17 at 12:09
first, thanks for edition and typo. second - now, yes, i want it all to go on one destination folder, but in future i need group small patterns, by 2 - 3, to different ftp path upload each... as so, is be good to cover both possibilities, if it is possible ;)
– Draco
Oct 4 '17 at 12:12
i find alot solutions like for my problem, but only for one pattern. i here have, opposing, many different patterns, and cannot find my situation silved in google, sadly, so i come here with some hope...
– Draco
Oct 4 '17 at 12:19
4
4
"Most economic" is probably with a single
mv
with all those wildcards as its argument and the destination directory as its final argument. But it's not clear if that is actually what you want. Do all the matches go to the same destination?– tripleee
Oct 4 '17 at 12:09
"Most economic" is probably with a single
mv
with all those wildcards as its argument and the destination directory as its final argument. But it's not clear if that is actually what you want. Do all the matches go to the same destination?– tripleee
Oct 4 '17 at 12:09
first, thanks for edition and typo. second - now, yes, i want it all to go on one destination folder, but in future i need group small patterns, by 2 - 3, to different ftp path upload each... as so, is be good to cover both possibilities, if it is possible ;)
– Draco
Oct 4 '17 at 12:12
first, thanks for edition and typo. second - now, yes, i want it all to go on one destination folder, but in future i need group small patterns, by 2 - 3, to different ftp path upload each... as so, is be good to cover both possibilities, if it is possible ;)
– Draco
Oct 4 '17 at 12:12
i find alot solutions like for my problem, but only for one pattern. i here have, opposing, many different patterns, and cannot find my situation silved in google, sadly, so i come here with some hope...
– Draco
Oct 4 '17 at 12:19
i find alot solutions like for my problem, but only for one pattern. i here have, opposing, many different patterns, and cannot find my situation silved in google, sadly, so i come here with some hope...
– Draco
Oct 4 '17 at 12:19
add a comment |
3 Answers
3
active
oldest
votes
The most efficient, but possibly the least legible, approach is to just enumerate everything in one big happy mv
command.
mv Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
destination
If you want to split this up (perhaps because you get "command line too long") you can use a here document.
while read files; do
mv $files dest
done <<____
Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
____
If you want to parametrize the destination, you can do that too.
while read destination files; do
mv $files "$destination"
done <<____
here Z_*ana_bwk_na_N*.png
here Z_*ana_bwk_dwda*.png
here Z_*ana_bwkman_dwdna*
there Z_*ana_bwkman_dwdc*
there Z_*EDZW*_nwv01*_p00_na_N*WV11.png
everywhere Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
here Z_*nwv01*_hsy_NA*.png
elsewhere Z_*EDZW_*_htp_na_N_*_WV11SW.png
there Z_*_rft_na_*.png
anywhere Z_*_r12*
____
Somewhat confusingly, the wildcards in the here document will be expanded by the shell before the loop runs. Because we need the inner loop to be unquoted, the expanded file names cannot contain any shell metacharacters (which do not match exactly only themselves -- typically irregular whitespace or wildcard expressions).
add a comment |
It's simple:
mv Z_*ana_bwk_na_N*.png Z_*ana_bwk_dwda*.png Z_*ana_bwkman_dwdna* -t /your/directory/
If you want it more elegant with input from file:
PATTERNS=`cat input.txt | paste -sd " " - ` && mv $PATTERNS -t /your/directory/
add a comment |
assume your patterns in a file called patterns
mapfile -t arr < patterns && mv -t destination "${arr[@]}"
add a comment |
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%2f396044%2fhow-to-move-files-with-multiple-patterns-to-specific-directory-bash%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
The most efficient, but possibly the least legible, approach is to just enumerate everything in one big happy mv
command.
mv Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
destination
If you want to split this up (perhaps because you get "command line too long") you can use a here document.
while read files; do
mv $files dest
done <<____
Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
____
If you want to parametrize the destination, you can do that too.
while read destination files; do
mv $files "$destination"
done <<____
here Z_*ana_bwk_na_N*.png
here Z_*ana_bwk_dwda*.png
here Z_*ana_bwkman_dwdna*
there Z_*ana_bwkman_dwdc*
there Z_*EDZW*_nwv01*_p00_na_N*WV11.png
everywhere Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
here Z_*nwv01*_hsy_NA*.png
elsewhere Z_*EDZW_*_htp_na_N_*_WV11SW.png
there Z_*_rft_na_*.png
anywhere Z_*_r12*
____
Somewhat confusingly, the wildcards in the here document will be expanded by the shell before the loop runs. Because we need the inner loop to be unquoted, the expanded file names cannot contain any shell metacharacters (which do not match exactly only themselves -- typically irregular whitespace or wildcard expressions).
add a comment |
The most efficient, but possibly the least legible, approach is to just enumerate everything in one big happy mv
command.
mv Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
destination
If you want to split this up (perhaps because you get "command line too long") you can use a here document.
while read files; do
mv $files dest
done <<____
Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
____
If you want to parametrize the destination, you can do that too.
while read destination files; do
mv $files "$destination"
done <<____
here Z_*ana_bwk_na_N*.png
here Z_*ana_bwk_dwda*.png
here Z_*ana_bwkman_dwdna*
there Z_*ana_bwkman_dwdc*
there Z_*EDZW*_nwv01*_p00_na_N*WV11.png
everywhere Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
here Z_*nwv01*_hsy_NA*.png
elsewhere Z_*EDZW_*_htp_na_N_*_WV11SW.png
there Z_*_rft_na_*.png
anywhere Z_*_r12*
____
Somewhat confusingly, the wildcards in the here document will be expanded by the shell before the loop runs. Because we need the inner loop to be unquoted, the expanded file names cannot contain any shell metacharacters (which do not match exactly only themselves -- typically irregular whitespace or wildcard expressions).
add a comment |
The most efficient, but possibly the least legible, approach is to just enumerate everything in one big happy mv
command.
mv Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
destination
If you want to split this up (perhaps because you get "command line too long") you can use a here document.
while read files; do
mv $files dest
done <<____
Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
____
If you want to parametrize the destination, you can do that too.
while read destination files; do
mv $files "$destination"
done <<____
here Z_*ana_bwk_na_N*.png
here Z_*ana_bwk_dwda*.png
here Z_*ana_bwkman_dwdna*
there Z_*ana_bwkman_dwdc*
there Z_*EDZW*_nwv01*_p00_na_N*WV11.png
everywhere Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
here Z_*nwv01*_hsy_NA*.png
elsewhere Z_*EDZW_*_htp_na_N_*_WV11SW.png
there Z_*_rft_na_*.png
anywhere Z_*_r12*
____
Somewhat confusingly, the wildcards in the here document will be expanded by the shell before the loop runs. Because we need the inner loop to be unquoted, the expanded file names cannot contain any shell metacharacters (which do not match exactly only themselves -- typically irregular whitespace or wildcard expressions).
The most efficient, but possibly the least legible, approach is to just enumerate everything in one big happy mv
command.
mv Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
destination
If you want to split this up (perhaps because you get "command line too long") you can use a here document.
while read files; do
mv $files dest
done <<____
Z_*ana_bwk_na_N*.png
Z_*ana_bwk_dwda*.png
Z_*ana_bwkman_dwdna*
Z_*ana_bwkman_dwdc*
Z_*EDZW*_nwv01*_p00_na_N*WV11.png
Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
Z_*nwv01*_hsy_NA*.png
Z_*EDZW_*_htp_na_N_*_WV11SW.png
Z_*_rft_na_*.png
Z_*_r12*
____
If you want to parametrize the destination, you can do that too.
while read destination files; do
mv $files "$destination"
done <<____
here Z_*ana_bwk_na_N*.png
here Z_*ana_bwk_dwda*.png
here Z_*ana_bwkman_dwdna*
there Z_*ana_bwkman_dwdc*
there Z_*EDZW*_nwv01*_p00_na_N*WV11.png
everywhere Z_*EDZW*_nwv01*_p00_nh_N*WV11.png
here Z_*nwv01*_hsy_NA*.png
elsewhere Z_*EDZW_*_htp_na_N_*_WV11SW.png
there Z_*_rft_na_*.png
anywhere Z_*_r12*
____
Somewhat confusingly, the wildcards in the here document will be expanded by the shell before the loop runs. Because we need the inner loop to be unquoted, the expanded file names cannot contain any shell metacharacters (which do not match exactly only themselves -- typically irregular whitespace or wildcard expressions).
answered Oct 4 '17 at 12:26
tripleeetripleee
5,31811931
5,31811931
add a comment |
add a comment |
It's simple:
mv Z_*ana_bwk_na_N*.png Z_*ana_bwk_dwda*.png Z_*ana_bwkman_dwdna* -t /your/directory/
If you want it more elegant with input from file:
PATTERNS=`cat input.txt | paste -sd " " - ` && mv $PATTERNS -t /your/directory/
add a comment |
It's simple:
mv Z_*ana_bwk_na_N*.png Z_*ana_bwk_dwda*.png Z_*ana_bwkman_dwdna* -t /your/directory/
If you want it more elegant with input from file:
PATTERNS=`cat input.txt | paste -sd " " - ` && mv $PATTERNS -t /your/directory/
add a comment |
It's simple:
mv Z_*ana_bwk_na_N*.png Z_*ana_bwk_dwda*.png Z_*ana_bwkman_dwdna* -t /your/directory/
If you want it more elegant with input from file:
PATTERNS=`cat input.txt | paste -sd " " - ` && mv $PATTERNS -t /your/directory/
It's simple:
mv Z_*ana_bwk_na_N*.png Z_*ana_bwk_dwda*.png Z_*ana_bwkman_dwdna* -t /your/directory/
If you want it more elegant with input from file:
PATTERNS=`cat input.txt | paste -sd " " - ` && mv $PATTERNS -t /your/directory/
edited Oct 4 '17 at 12:28
answered Oct 4 '17 at 12:21
Jaroslav KuceraJaroslav Kucera
4,9754722
4,9754722
add a comment |
add a comment |
assume your patterns in a file called patterns
mapfile -t arr < patterns && mv -t destination "${arr[@]}"
add a comment |
assume your patterns in a file called patterns
mapfile -t arr < patterns && mv -t destination "${arr[@]}"
add a comment |
assume your patterns in a file called patterns
mapfile -t arr < patterns && mv -t destination "${arr[@]}"
assume your patterns in a file called patterns
mapfile -t arr < patterns && mv -t destination "${arr[@]}"
answered Apr 5 at 1:49
dedowsdidedowsdi
1943
1943
add a comment |
add a comment |
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%2f396044%2fhow-to-move-files-with-multiple-patterns-to-specific-directory-bash%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
4
"Most economic" is probably with a single
mv
with all those wildcards as its argument and the destination directory as its final argument. But it's not clear if that is actually what you want. Do all the matches go to the same destination?– tripleee
Oct 4 '17 at 12:09
first, thanks for edition and typo. second - now, yes, i want it all to go on one destination folder, but in future i need group small patterns, by 2 - 3, to different ftp path upload each... as so, is be good to cover both possibilities, if it is possible ;)
– Draco
Oct 4 '17 at 12:12
i find alot solutions like for my problem, but only for one pattern. i here have, opposing, many different patterns, and cannot find my situation silved in google, sadly, so i come here with some hope...
– Draco
Oct 4 '17 at 12:19