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
Re: Merfach-Kopieren in einer Aufgabe (Read 3292 times)
davidwong37
YaBB Newbies
*
Offline



Posts: 1
Re: Merfach-Kopieren in einer Aufgabe
Jan 28th, 2008 at 12:25pm
 
The sort plugin doesn't have the functionality of copy when it deletes the file (after the copying of the file to multiple targets) of removing empty folder(s) left behind. This is the "Remove the directory if it is empty" option for Copy Files.

Is there an easy way to do the same thing in Sort Files, or will that function be available in future versions.

Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2239
The Netherlands
Re: Merfach-Kopieren in einer Aufgabe
Reply #1 - Jan 28th, 2008 at 12:58pm
 
Hello David,

As for the "remove folder" option. In a few days (tomorrow?) we will release the 4.5 version of WD (see http://www.watchdirectory.net/cgi-bin/yabb2/YaBB.pl?num=1193589964 for the beta).

With that version, you can create a new task with the "automatically delete files" plugin ( http://www.watchdirectory.net/wdhelp/plugins/wdopAutoDelete.html ).
Select only the DIRNEW option on the events window ( http://www.watchdirectory.net/wdhelp/help/wdnewconfigpage4.html ).
Use the "File Age" monitoring method ( http://www.watchdirectory.net/wdhelp/help/wdnewconfigpage3.html ) to start the task for files (directories actually) older than X days (for example). Make sure NOT to select the option to "remember triggered files".

For this combination of options, the "automatically delete files" plugin will remove empty directories.

Note that this combination of options is also available for the current (4.2.5) release, but the file-age monitoring method has a bug that will also cause files to be deleted, even when you do not select the FILENEW option on the events window.

Gert
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