WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
Page Index Toggle Pages: 1
Move 4 digits to end of foldername (Read 869 times)
YaBB Newbies

Posts: 1
Move 4 digits to end of foldername
Aug 13th, 2015 at 12:10pm

I've got the next case :

Before the foldername looks like this :
3209 - Customername

My wish is that the foldername will look like this after renaming :
Customername - 3209

So the first 4 digits should be moved to the end of the foldername.

Is this possible? I've already looked at the dynamic naming config but didn't figure it out yet.

Thanks in advance.

Greetings Joey
Back to top
IP Logged
YaBB Administrator

Posts: 2260
The Netherlands
Re: Move 4 digits to end of foldername
Reply #1 - Aug 13th, 2015 at 7:50pm
Hello Joey,

Most people overlook the {functions} you can use with dynamic naming, they are described at the bottom of this page:

It seems to me you need something like

C:\Target\{left{4,{filetitle}}} -{stringafter{-,{filetitle}}}

but it depends a bit which plugin/task you intend to use.
Back to top

Gert Rijs - gert (at) gdpsoftware (dot) com
End Alzheimer's:
WWW WWW GdPSoftware  
IP Logged
Page Index Toggle Pages: 1