moving with MRT
Moderators: Hacker, petermad, Stefan2, white
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
[OT]
Are you angree now ?
Well, I can't explain you why are you funny, because we might have very different humor sense. It will eventually become like explaining to Jamacan guy that smoking marijuana will kill him....
But maybe if you leave some details about your life, your habits, the girls you like, the books you read, the music you listen..... actually forget about the girls..... or if you just hang around for a while, you might get what you are seeking for.
Well, I can't explain you why are you funny, because we might have very different humor sense. It will eventually become like explaining to Jamacan guy that smoking marijuana will kill him....
But maybe if you leave some details about your life, your habits, the girls you like, the books you read, the music you listen..... actually forget about the girls..... or if you just hang around for a while, you might get what you are seeking for.
Habemus majkam!
- robinsiebler
- Senior Member
- Posts: 460
- Joined: 2003-03-05, 21:04 UTC
I haven't been able to make heads or tales of the post. Hopefully, someone will give me an example using this data:
I want to rename/move the DSC0XXX from c:\temp\pics\ to c:\Pictures\Hawaii\XXX.
I want to rename/move the DSC0XXX from c:\temp\pics\ to c:\Pictures\Hawaii\XXX.
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
In the MRT:robinsiebler wrote:I haven't been able to make heads or tales of the post. Hopefully, someone will give me an example using this data:
I want to rename/move the DSC0XXX from c:\temp\pics\ to c:\Pictures\Hawaii\XXX.
[N5-7].[E]
Search: (.+)
Replace: ..\\..\\Pictures\\Hawaii\\$1
[x]RegEx on
This means:
... Replace: ..\\$1 => move to temp (.. == Parent of Pics-folder)
... Replace: ..\\..\\$1 => move to C:\ (..\..\ == grand parent of Pics-folder)
... Replace: ..\\..\\Pictures\\$1 => move to C:\ and there in sub folder "Pictures"
... Replace: ..\\..\\Pictures\\Hawaii\\$1 => move to C:\Pictures\Hawaii
$1 means the back reference to the group found in (.+)
The backslash \ is a symbol char in RegEx, so we must escape him with an second back slash \\.
- robinsiebler
- Senior Member
- Posts: 460
- Joined: 2003-03-05, 21:04 UTC
good question ... anyone knows?robinsiebler wrote:Thanks! Is there any kind of magic that will enable me to move the files to the opposite pane?
And something else: I have studied the thread back and forth and what I don't quite understand:
If you use this trick with the backslash in the replace box, the target folders MUST already exist ??
But what if you have files like
Smith Peter.txt, Smith John.txt, Smith Fred.txt, MacRae Jim, MacRae Stacy
and want to rename them so that they are moved in folders with their family name ?
Whoooo...XPEHOPE3KA wrote: 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
XPEHOPE3KA, I'd be quite curious to know, how exactly did you managed to do this ... ?? Because I'd like to do that myself but the problem I see is that this only works if the folders for the artists and albums already exist. But I guess if you downloaded really a "sh** load of music", than I guess you didn't create so many folders manually, right? So what's your trick then ?
in your specefic case, you can search forBut what if you have files like
Smith Peter.txt, Smith John.txt, Smith Fred.txt, MacRae Jim, MacRae Stacy
and want to rename them so that they are moved in folders with their family name ?
"(.+) "
and replace with
"..\\$1\\$1 "
regex enabled.
Of course, you got to have directories created, because MRT cannot create them for you yet.