WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Sort Files to Multiple Folders + Sort Folders Too? (Read 1962 times)
afterglow
YaBB Newbies
*
Offline



Posts: 1
Sort Files to Multiple Folders + Sort Folders Too?
May 5th, 2011 at 1:51pm
 
Hi, the Sort Files to Multiple Folders is almost perfect for my task.  But I also want the folders to be copied too.  Yet, the DIRNEW options etc are greyed out.  How can I make this work please?
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2238
The Netherlands
Re: Sort Files to Multiple Folders + Sort Folders
Reply #1 - May 5th, 2011 at 4:06pm
 
The sort task only supports file creation and updates.

However, as the target of a sort-rule can use {tags} (dynamic names), you can enter
[b]d:\Target\{originalrelative}[/b]

So when the file
C:\Monitor\Some\Sub\file.txt
is detected, it is copied to
D:\Target\Some\Sub\file.txt

The new directories below D:\Target will be created automatically.
See http://www.watchdirectory.net/wdhelp/plugins/dynamicname_functions.html
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1