INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: (newline) Rename, Move, & Copy files  (Read 883 times)

subway33

  • Recent member
  • *
  • Posts: 20
(newline) Rename, Move, & Copy files
« on: June 30, 2021, 06:50:33 am »

28.0.31 (6/25/2021)

3. Fixed: The (newline) in expressions was going into the wrong part so the expression itself could be changed.

The new build brought a change in the construction of rename, Move & Copy files in the expression (newline) The result makes it create a folder named (newline)
Is there any way to control this directory without the need to create a new folder?!

Thank you for your attention

Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42344
  • Shoes gone again!
Re: (newline) Rename, Move, & Copy files
« Reply #1 on: June 30, 2021, 06:56:49 am »

Could you paste your full expression here so I could test it?  Thanks.
Logged
Matt Ashland, JRiver Media Center

subway33

  • Recent member
  • *
  • Posts: 20
Re: (newline) Rename, Move, & Copy files
« Reply #2 on: June 30, 2021, 07:15:21 am »

Thank you @matt for your attention.

As requested..
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42344
  • Shoes gone again!
Re: (newline) Rename, Move, & Copy files
« Reply #3 on: June 30, 2021, 07:16:55 am »

But pull that out.  It could have been added last build.  Then if you still have a problem copy and paste the expression here
Logged
Matt Ashland, JRiver Media Center

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: (newline) Rename, Move, & Copy files
« Reply #4 on: June 30, 2021, 07:20:14 am »

Just remove "(newline)   " from the Rule and it should work if single line
Code: [Select]
If(RegEx([Artist], /#^([A-Za-z])#/),\[R1], 0-9 etc.)\If(RegEx([Artist], /#^(.[A-Za-z])#/),  [R1], 0-9 etc.)If you want those if decisions on their own lines then you need / before linefeed like this

If(RegEx([Artist], /#^([A-Za-z])#/),\[R1], 0-9 etc.)\/
If(RegEx([Artist], /#^(.[A-Za-z])#/),  [R1], 0-9 etc.)

REF:
You probably had ran rename script when there was a bug that edited Rule so that's why your Rule field has that (newline) string now.
Logged

subway33

  • Recent member
  • *
  • Posts: 20
Re: (newline) Rename, Move, & Copy files
« Reply #5 on: June 30, 2021, 07:28:10 am »

@Lepa  :D

I tested it and it worked very well.

Thank you once again!
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: (newline) Rename, Move, & Copy files
« Reply #6 on: June 30, 2021, 07:29:46 am »

Check the regex rule in general as I just manually copied it from your image so there could be typos...
Logged

subway33

  • Recent member
  • *
  • Posts: 20
Re: (newline) Rename, Move, & Copy files
« Reply #7 on: June 30, 2021, 08:21:01 am »

REF:
You probably had ran rename script when there was a bug that edited Rule so that's why your Rule field has that (newline) string now.

Yeahh! That's probably what happened, because it was working fine until now (28.0.27)

You are great! Thank's for your time.
Logged
Pages: [1]   Go Up