trying to Rename multiple file names within all directories of a project
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
ive recently been trying to change the names around in my project and have been having some trouble getting the task done properly.
my problem is when I try to use
find . -type f -print0 | xargs -0 sed -i 's/volix/sergio/g'
find . -type f -print0 | xargs -0 sed -i 's/Volix/Sergio/g'
find . -type f -print0 | xargs -0 sed -i 's/VOLIX/SERGIO/g'
find . -type f -print0 | xargs -0 sed -i 's/VLX/SRG/g'
this will find and replace all the names within the files im trying to change, but it leaves the name of the folders still the same as what they before the name changes.
the folders that need to be "Re-named" are like this :
List item
- volix-res.rc
- volix.qrc
- volix-tx.cpp
- volix_logo_horizontal.png
- volix_logo_horizontal2x.png
- unit_tmvolix.png
- unit_tvolix.png
and many more files with the name "volix", im wondering how I can change all of these at once instead of manually renaming one by one?
ubuntu
New contributor
add a comment |Â
up vote
0
down vote
favorite
ive recently been trying to change the names around in my project and have been having some trouble getting the task done properly.
my problem is when I try to use
find . -type f -print0 | xargs -0 sed -i 's/volix/sergio/g'
find . -type f -print0 | xargs -0 sed -i 's/Volix/Sergio/g'
find . -type f -print0 | xargs -0 sed -i 's/VOLIX/SERGIO/g'
find . -type f -print0 | xargs -0 sed -i 's/VLX/SRG/g'
this will find and replace all the names within the files im trying to change, but it leaves the name of the folders still the same as what they before the name changes.
the folders that need to be "Re-named" are like this :
List item
- volix-res.rc
- volix.qrc
- volix-tx.cpp
- volix_logo_horizontal.png
- volix_logo_horizontal2x.png
- unit_tmvolix.png
- unit_tvolix.png
and many more files with the name "volix", im wondering how I can change all of these at once instead of manually renaming one by one?
ubuntu
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
ive recently been trying to change the names around in my project and have been having some trouble getting the task done properly.
my problem is when I try to use
find . -type f -print0 | xargs -0 sed -i 's/volix/sergio/g'
find . -type f -print0 | xargs -0 sed -i 's/Volix/Sergio/g'
find . -type f -print0 | xargs -0 sed -i 's/VOLIX/SERGIO/g'
find . -type f -print0 | xargs -0 sed -i 's/VLX/SRG/g'
this will find and replace all the names within the files im trying to change, but it leaves the name of the folders still the same as what they before the name changes.
the folders that need to be "Re-named" are like this :
List item
- volix-res.rc
- volix.qrc
- volix-tx.cpp
- volix_logo_horizontal.png
- volix_logo_horizontal2x.png
- unit_tmvolix.png
- unit_tvolix.png
and many more files with the name "volix", im wondering how I can change all of these at once instead of manually renaming one by one?
ubuntu
New contributor
ive recently been trying to change the names around in my project and have been having some trouble getting the task done properly.
my problem is when I try to use
find . -type f -print0 | xargs -0 sed -i 's/volix/sergio/g'
find . -type f -print0 | xargs -0 sed -i 's/Volix/Sergio/g'
find . -type f -print0 | xargs -0 sed -i 's/VOLIX/SERGIO/g'
find . -type f -print0 | xargs -0 sed -i 's/VLX/SRG/g'
this will find and replace all the names within the files im trying to change, but it leaves the name of the folders still the same as what they before the name changes.
the folders that need to be "Re-named" are like this :
List item
- volix-res.rc
- volix.qrc
- volix-tx.cpp
- volix_logo_horizontal.png
- volix_logo_horizontal2x.png
- unit_tmvolix.png
- unit_tvolix.png
and many more files with the name "volix", im wondering how I can change all of these at once instead of manually renaming one by one?
ubuntu
ubuntu
New contributor
New contributor
New contributor
asked 6 mins ago
john bullock
1
1
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
john bullock is a new contributor. Be nice, and check out our Code of Conduct.
john bullock is a new contributor. Be nice, and check out our Code of Conduct.
john bullock is a new contributor. Be nice, and check out our Code of Conduct.
john bullock 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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476673%2ftrying-to-rename-multiple-file-names-within-all-directories-of-a-project%23new-answer', 'question_page');
);
Post as a guest
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
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
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