use Find command to copy and change namesCopy files in different subdirectories that excludes a stringUse...
Are differences between uniformly distributed numbers uniformly distributed?
AsyncDictionary - Can you break thread safety?
DeclareMathOperator and widearcarrow with kpfonts
Loading military units into ships optimally, using backtracking
How are you supposed to know the strumming pattern for a song from the "chord sheet music"?
What is my malfunctioning AI harvesting from humans?
Why did Gandalf use a sword against the Balrog?
Visa National - No Exit Stamp From France on Return to the UK
How to avoid the "need" to learn more before conducting research?
Bitcoin successfully deducted on sender wallet but did not reach receiver wallet
Why isn’t SHA-3 in wider use?
How to take the beginning and end parts of a list with simpler syntax?
Help evaluating integral (anything simple that I am missing?)
Why is transplanting a specific intact brain impossible if it is generally possible?
Acceptable to cut steak before searing?
Is it legal for a company to enter an agreement not to hire employees from another company?
what is measured in units of sat/kw?
Does this Foo machine halt?
function evaluation - I don't get it
Is there a standardised way to check fake news?
How many different ways are there to checkmate in the early game?
MinionPro is erroneous
In a 2 layer PCB with a top layer densely populated, from an EMI & EMC point of view should the ground plane be on top, bottom or both and why?
Is Texas Instrument wrong with their pin number on TO-92 package?
use Find command to copy and change names
Copy files in different subdirectories that excludes a stringUse find + sed + cp to find files and copy them to a directory with a different nameFind and move directories based on file type and dateFind files in directory with paired namesHow can I use a linux shell script to change directories and copy files?How can I list files of which no symlinks exist?Search by pattern, and copy within the same folder but with a different nameExcluding specific folders while copying stuffs from one directory to anotherCopy line in text file and add modified line to the end of line in same file
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
Hello i have a bunch of folders with several images (jpg
and png
) at the same directory level (./ParentDirectory/contents/1680x1050.png
for example) called the same (1680x1050.jpg
or 1680x1050.png
) on different subdirectories, I want to know if is possible to use the find
command to copy this files to a different directory (e.g. ./Something/
) keeping the name but adding the parent name to the file name so at the end they are as ./Something/ParenDirectory_1680x1050.jpg
and ParenDirectory_1680x1050.png
.
linux find console
New contributor
add a comment |
Hello i have a bunch of folders with several images (jpg
and png
) at the same directory level (./ParentDirectory/contents/1680x1050.png
for example) called the same (1680x1050.jpg
or 1680x1050.png
) on different subdirectories, I want to know if is possible to use the find
command to copy this files to a different directory (e.g. ./Something/
) keeping the name but adding the parent name to the file name so at the end they are as ./Something/ParenDirectory_1680x1050.jpg
and ParenDirectory_1680x1050.png
.
linux find console
New contributor
add a comment |
Hello i have a bunch of folders with several images (jpg
and png
) at the same directory level (./ParentDirectory/contents/1680x1050.png
for example) called the same (1680x1050.jpg
or 1680x1050.png
) on different subdirectories, I want to know if is possible to use the find
command to copy this files to a different directory (e.g. ./Something/
) keeping the name but adding the parent name to the file name so at the end they are as ./Something/ParenDirectory_1680x1050.jpg
and ParenDirectory_1680x1050.png
.
linux find console
New contributor
Hello i have a bunch of folders with several images (jpg
and png
) at the same directory level (./ParentDirectory/contents/1680x1050.png
for example) called the same (1680x1050.jpg
or 1680x1050.png
) on different subdirectories, I want to know if is possible to use the find
command to copy this files to a different directory (e.g. ./Something/
) keeping the name but adding the parent name to the file name so at the end they are as ./Something/ParenDirectory_1680x1050.jpg
and ParenDirectory_1680x1050.png
.
linux find console
linux find console
New contributor
New contributor
New contributor
asked 1 hour ago
GrestholGresthol
11 bronze badge
11 bronze badge
New contributor
New contributor
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
});
}
});
Gresthol is a new contributor. Be nice, and check out our Code of Conduct.
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%2f535092%2fuse-find-command-to-copy-and-change-names%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
Gresthol is a new contributor. Be nice, and check out our Code of Conduct.
Gresthol is a new contributor. Be nice, and check out our Code of Conduct.
Gresthol is a new contributor. Be nice, and check out our Code of Conduct.
Gresthol is a new contributor. Be nice, and check out our Code of Conduct.
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%2f535092%2fuse-find-command-to-copy-and-change-names%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