moving with MRT

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

moving with MRT

Post by *XPEHOPE3KA »

Can anyone, please, explain me, how to move files using multi-rename tool?
TIA
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

I will


You can't
Habemus majkam!
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2XPEHOPE3KA
The only way I know is to use content plug-ins (plugin button). The plug-in field result has to contain the backslashes.
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

Thank you, Lefteous. However, I haven't figured out yet, if it is possible to move files to folders which are not subfolders of the current folder (too much folders, eh?)

Here are some common tasks:
1. I downloaded lots of files and want them all moved to directories 0,1,...,9,A,B,...,Z.
I have already created them in the same directory, where all my files lay.
Now say to TC you want to use regular expressions.
Search for: ^(.)
Replace with: $1\\$1

2. I downloaded some music files all named like artist - title.mp3. Now I cannot create folders for all the artists (yeah, I downloaded a sh*t load of music), but I already have some of their songs under D:\Music\<artist>\, while my downloads are at F:\. So I have to move all my mp3s to D:\Music\ and then:
search for: (.+) - (.+)\.mp3
replace with: $1\\$2.mp3

However, I want to "rename" files directly from F:\ to D:\Music\<artist>\ using this search:
search for: (.+) - (.+)\.mp3
replace with: D:\\Music\\$1\\$2.mp3

That would be really nice and should be considered as one more request from now.

P.S. 2majkinetor !: you better study TC's behaviour than offtop in the forum :)
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
User avatar
solid
Power Member
Power Member
Posts: 755
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

thanks XPEHOPE3KA.

I didn't know that file can be renamed to folder\filename or ..\filename and in the same step moved to the folder or to the parent.

thx for enlightening :D
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

hm... I admit error

I tried to use "\" in "Rename mask" (which produced errors) not in "Search and replace"

This is what succeded:

1. I create folder, lets say majkinetor
2. I select files I want to move, majkinetor is in the folder along with selected files (well, not me, the folder)
3. I enter this in MRT:
  • Rename mask: majkinetor[N]
    Search: majkinetor
    Replace: majkinetor\


but your exxpression ^(.) is much better general solution

so, like solid said
thx for enlightening

About your offtop comment, you don't wanna know what I think
Habemus majkam!
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

However, I want to "rename" files directly from F:\ to D:\Music\<artist>\ using this search:
search for: (.+) - (.+)\.mp3
replace with: D:\\Music\\$1\\$2.mp3


You can achieve your request with ".."

Try this

Search: ^(.)
Replace: \\..\\..\\..\\majki\\$1

where majki is in the root
It works here.
Habemus majkam!
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

majkinetor ! wrote:It works here.
But it doesn't work for me :cry:
If your post wasn't yet another joke :P , please write here more precisely:
you have such structure as F:\<somefiles>;
and you want them "renamed" to D:\majki\<samefilenames>;
F and D drives are NOT partitions of the same disk (F is a USB Flash drive at my place);
there are three "\\.." - why?
majkinetor ! wrote:Rename mask: majkinetor[N]
Search: majkinetor
Replace: majkinetor\
:wink: Yeah, you are funny... sometimes. The only thing you MUST be loved for by everyone here is that you can always find where to place your selfish but most time kind-hearted joke.
majkinetor ! wrote:you don't wanna know what I think
I think I got what you think from your other post somewhere here.
solid wrote:..\filename
Nice, I didn't know that :shock: BTW, how did you get it from MY post?
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

2XPEHOPE3KA

This procedure can not rename to separate partitions witch is obvious. I told you that folder must be in the root, and array of . . told you that it must be on the same partition. If you create exact replica of file structure for desired partition on source partition, you can simply move root of the structure to new partition. OF course, you can create simple monitors that will do that for you, so that is cool workaround if you need this option every day. With double dots you position yourself to root of the drive which can't be done in any other way AFAIK.

About your concrete music problem, you should understand that there are specialized programs for this, like Tag&Rename, or freeware GodFather which is scriptable so you can do with your files what every you want. Or you can do it from console (that would be my choice) and connect your batch script to TC hotkey or button.

Anyway, I agree with you that MRT is not well defined in that sense: you can do some renamings and can't some others. But, if you hang out here a lot more than 40 posts you will see that when we come to TC upgrades and requests, things become "not so simple".
If your post wasn't yet another joke
I see that you are smart kid, little :? but still smart. You should know when people are joking and when not.
Yeah, you are funny... sometimes. The only thing you MUST be loved for by everyone here is that you can always find where to place your selfish but most time kind-hearted joke.
Wow, another one !
Another one who wants to serve the justice ! The Light Jedy :!:
But you missed some crutial detail on Star Wars classes - the force is what is important, not you (or me)! .... if you know what I mean.... :wink:
Habemus majkam!
User avatar
solid
Power Member
Power Member
Posts: 755
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

XPEHOPE3KA wrote:
solid wrote:..\filename
Nice, I didn't know that :shock: BTW, how did you get it from MY post?
By taking your post to the next level. :D

Well, by finding this as a new feature for me, i experimented a little.
It works with .. for parent dir, so with ..\..\dir\dir you can move to whenever you like on the same partition. Errors raise when letter of another drive is used. I guess that : (colon) is not supported in the replace box. Maybe Mr. Ghisler or some of more expirienced users can throw some more light here.

btw, same trick (..\) works in inplace renaming (Shift+F6)
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

I even tried to enable option to show .. in the root which will take me to list of drives and then use drive names, but that was just "why not try" method (who knows what Ghisler did in the code), and it didn't work, of course.

I think this is good, and above all , easy request for MRT.

>>By taking your post to the next level.
:lol:
Habemus majkam!
User avatar
headphones
Junior Member
Junior Member
Posts: 11
Joined: 2005-10-26, 12:52 UTC

Post by *headphones »

Errors raise when letter of another drive is used. I guess that : (colon) is not supported in the replace box.
If you 're using win2k or more recent, you can use junction (from sysinternals.com) to create a "Link" between two drives.

I explain :
You want to move a file from C:\folderA to D:\folderB. With junction, you can create a link on C:\ to D:\FolderB

and so have on your hard drive

C:\FolderA
C:\FolderB --> Link to D:\FolderB
D:\FolderB

The, you run MRT (on the C drive heh ;-) ). When finish, delete the junction.
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

Very good idea, very good.

Hard links can not be used so it leaves only junctions.
That will do the trick. If X* use it a lot, it can make junction permanent and hidden.
Habemus majkam!
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

2majkinetor !
X*
XPEHOwhatever
Please, majkinetor !, use copy and paste method 8)
Your full nick requires 12 keystrokes, my full nick requires also 12 keystrokes, so I don't know why are you complaining about autocomplete in this forum - your nick is as inconvinient for others to write as mine. I saw SQUIRE and others shrank your nick to majki and you stood that (maybe you allowed that publicly - I don't know), but I didn't allow my nick "humiliating" that way. BTW, I saw someone addressed you as majkinator, so for others long nick isn't a problem to type.
However, if my long nick cause such unbearable problems for other users too, I can make another account here with my other six characters long nick which doesn't use CAPital letters.
Then maybe shall I start a poll to see if new forumers must use short nicks? That was a joke.

So, about jokes:
You should know when people are joking and when not.
I don't know you as a person, I can only judge you by your posts. And yes, I have never seen you joking in an implicit way (with a serious face of the Dark Jedi), but as you are insulting me continiously (as far as I understand your posts addressed to me and written in an un*smart* english dialect), I decided that to begin doing something is never late and you may have actually started. However, I didn't want to insult you by my post, sorry if I did.
But you missed some crutial detail on Star Wars classes
I hate Star Wars, but I don't know for what reason. Maybe because these films *force* a man to dream so much that he refuses to face reality as it is, with mind cleared from Star Wars impression.

Back to topic.

The request was:
"rename" files directly from F:\ to D:\Music\<artist>\
And you said this:
You can achieve your request with ".."

Try this

Search: ^(.)
Replace: \\..\\..\\..\\majki\\$1
That's why I got your post wrong. I thought this \\.. array was for counting: third for going from D:\majki to D:\, second for D:\ to E:\, first for E:\ to F:\. I thought that \\.. might move through drives if we are already in the drive list.

2headphones
Thx a lot!
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
User avatar
majkinetor !
Power Member
Power Member
Posts: 1580
Joined: 2006-01-18, 07:56 UTC
Contact:

Post by *majkinetor ! »

You are funny :lol:
Habemus majkam!
Post Reply