Batch rename files to move sequence from end to beginning
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a bunch of files that are from using IM's convert
from a PDF to many image thumbnails. On that conversion, I have files named something-0.jpg. So, say a PDF has 45 pages, each page is:
something-0.jpg
...
something-45.jpg
I want to have these be something like
th0-something.jpg
...
th45-something.jpg
I have found several examples of using rename
, but can not wrap my head around how to move these numbers, as most examples I find are just trimming content off.
rename mv imagemagick
New contributor
add a comment |Â
up vote
0
down vote
favorite
I have a bunch of files that are from using IM's convert
from a PDF to many image thumbnails. On that conversion, I have files named something-0.jpg. So, say a PDF has 45 pages, each page is:
something-0.jpg
...
something-45.jpg
I want to have these be something like
th0-something.jpg
...
th45-something.jpg
I have found several examples of using rename
, but can not wrap my head around how to move these numbers, as most examples I find are just trimming content off.
rename mv imagemagick
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a bunch of files that are from using IM's convert
from a PDF to many image thumbnails. On that conversion, I have files named something-0.jpg. So, say a PDF has 45 pages, each page is:
something-0.jpg
...
something-45.jpg
I want to have these be something like
th0-something.jpg
...
th45-something.jpg
I have found several examples of using rename
, but can not wrap my head around how to move these numbers, as most examples I find are just trimming content off.
rename mv imagemagick
New contributor
I have a bunch of files that are from using IM's convert
from a PDF to many image thumbnails. On that conversion, I have files named something-0.jpg. So, say a PDF has 45 pages, each page is:
something-0.jpg
...
something-45.jpg
I want to have these be something like
th0-something.jpg
...
th45-something.jpg
I have found several examples of using rename
, but can not wrap my head around how to move these numbers, as most examples I find are just trimming content off.
rename mv imagemagick
rename mv imagemagick
New contributor
New contributor
New contributor
asked 4 mins ago
jmlumpkin
1011
1011
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
jmlumpkin is a new contributor. Be nice, and check out our Code of Conduct.
jmlumpkin is a new contributor. Be nice, and check out our Code of Conduct.
jmlumpkin is a new contributor. Be nice, and check out our Code of Conduct.
jmlumpkin 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%2f480213%2fbatch-rename-files-to-move-sequence-from-end-to-beginning%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