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
Panic - Monitor Size of Folders, Beta 5 (Read 3839 times)
toob
YaBB Newbies
*
Offline



Posts: 12
Panic - Monitor Size of Folders, Beta 5
Oct 15th, 2006 at 12:58am
 
I am using Beta 5 of WD.

I created a new task to monitor the number of .png files in a directory. 

Options:

When, inside the monitored folder. . . there are more than 15 files. . . move or remove files: Delete or move files from the monitored directory: matching these patterns *.png oldest file first
with mark in: Instead of deleting, move the files to: S:\New\T2-{yearonly:cr}{month}{day}

Where are my files?  It says it DELETED 18 files (see the XML attached)!  They are not in my recycle bin!  Where did they go!

Perhaps I was idiotic to assume that the files would go to the recycle bin.  But they are not there.

There was no option to make deleted files go to recycle bin, and now my files are completely gone (confirmed with Windows search). 

The file that appears in the above-referenced directory is a standard un-suffixed file called "T2-061014" which was created 10/13/2006 8:00 PM (it was truly created at 10/14/2006 at 4:21 PM as that was the time the task took place).  The file is nearly 3MB in size but I don't know what it is or how to access it.  I do know that the 18 .png files that were wholly deleted took up about 16MB of space or more.

I am now scared to death to use this software as a whole week's worth of work is now GONE.  No directories were created as indicated. I guess I should have known better than to use a beta to work with my production files.


--Melissa Scott
TiledTextures.com



<export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=".\wdexport.xsd">
  <task>
    <taskname>T2NewTexturesUL</taskname>
    <runs>
     <run>
       <ID>1</ID>
       <DTSTART>2006-10-14 16:21:25</DTSTART>
       <DTEND>2006-10-14 16:21:49</DTEND>
       <runmessages>
         <runmessage>
           <ID>9</ID>
           <RUN_ID>1</RUN_ID>
           <DTMESSAGE>2006-10-14 16:21:49</DTMESSAGE>
           <LVL>I</LVL>
           <MESSAGE>shutting down</MESSAGE>
           <ORIGIN></ORIGIN>
         </runmessage>
         <runmessage>
           <ID>8</ID>
           <RUN_ID>1</RUN_ID>
           <DTMESSAGE>2006-10-14 16:21:49</DTMESSAGE>
           <LVL>I</LVL>
           <MESSAGE>User pressed CTRL+C or CTRL+BREAK</MESSAGE>
           <ORIGIN></ORIGIN>
         </runmessage>
         <runmessage>
           <ID>7</ID>
           <RUN_ID>1</RUN_ID>
           <DTMESSAGE>2006-10-14 16:21:30</DTMESSAGE>
           <LVL>I</LVL>
           <MESSAGE>Should delete 18 files</MESSAGE>
           <ORIGIN></ORIGIN>
         </runmessage>
         <runmessage>
           <ID>6</ID>
           <RUN_ID>1</RUN_ID>
           <DTMESSAGE>2006-10-14 16:21:25</DTMESSAGE>
           <LVL>I</LVL>
           <MESSAGE>Will fire FILENEW/DIRNEW events for all files</MESSAGE>
           <ORIGIN></ORIGIN>
         </runmessage>
         <runmessage>
           <ID>5</ID>
           <RUN_ID>1</RUN_ID>
           <DTMESSAGE>2006-10-14 16:21:25</DTMESSAGE>
           <LVL>I</LVL>
           <MESSAGE>All other files are NOT processed</MESSAGE>
           <ORIGIN></ORIGIN>
         </runmessage>
         <runmessage>
           <ID>4</ID>
           <RUN_ID>1</RUN_ID>
           <DTMESSAGE>2006-10-14 16:21:25</DTMESSAGE>
           <LVL>I</LVL>
           <MESSAGE>All other files are NOT processed</MESSAGE>
           <ORIGIN></ORIGIN>
         </runmessage>
         <runmessage>
           <ID>3</ID>
           <RUN_ID>1</RUN_ID>
           <DTMESSAGE>2006-10-14 16:21:25</DTMESSAGE>
           <LVL>I</LVL>
           <MESSAGE>Trigger when extension equals
&apos;*.png&apos;</MESSAGE>
           <ORIGIN></ORIGIN>
         </runmessage>
         <runmessage>
           <ID>2</ID>
           <RUN_ID>1</RUN_ID>
           <DTMESSAGE>2006-10-14 16:21:25</DTMESSAGE>
           <LVL>I</LVL>
           <MESSAGE>Starting to monitor the directory</MESSAGE>
           <ORIGIN></ORIGIN>
         </runmessage>
         <runmessage>
           <ID>1</ID>
           <RUN_ID>1</RUN_ID>
           <DTMESSAGE>2006-10-14 16:21:25</DTMESSAGE>
           <LVL>I</LVL>
           <MESSAGE>watchDirectory version 4.1.0.300 - Licensed to TiledTextures.com (1 copies)</MESSAGE>
           <ORIGIN></ORIGIN>
         </runmessage>
       </runmessages>
       <fileevents>
       </fileevents>
     </run>
    </runs>
</task>
</export>
Back to top
 
WWW WWW  
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2381
The Netherlands
Re: Panic - Monitor Size of Folders, Beta 5
Reply #1 - Oct 15th, 2006 at 9:02am
 
Hello Melissa,

I am very sorry to hear you have lost some files. One of them can probably be found again (see below).

Quote:
...move the files to: S:\New\T2-{yearonly:cr}{month}{day}

The name you enter as the target for the move should be a filename, not a directory-name. Your 18 files are all moved to the file S:\New\T2-061014, each move overwriting the previous move. If you rename the file T2-061014 to T2-061014.png, you will see it is one of your missing files.

If you change the filename pattern to S:\New\T2-{yearonly:cr}{month}{day}\{filename}, the files are moved to a directory named S:\New\T2-061014, and keep their original name.

Quote:
...It says it DELETED 18 files

That is a confusing message, I agree. I have changed it to say "move or remove".


I have changed the folder-size plugin to warn about this problem (it checks if you use {filename} or {filetitle} in the pattern), and will upload the new version in a minute.

Again, I am very sorry you have lost some work.

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
 
toob
YaBB Newbies
*
Offline



Posts: 12
Re: Panic - Monitor Size of Folders, Beta 5
Reply #2 - Oct 15th, 2006 at 4:24pm
 
Thanks for the ultra-fast response, I see the error now.  I'll set it up differently next time!!
Back to top
 
WWW WWW  
IP Logged
 
Page Index Toggle Pages: 1