![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject[>>] [<<]Thread
Number : 3248 Date : 2002-12-12 Author : Kan Yabumoto Subject : Re: Preserving Generation Backups Size(KB) : 2
Martin: If you want to make exception to the LastAccess scheme, use the /X (exclude) feature. Or, create a list of such files and directories and use /EX. >What I was hoping for is a scheme that triggers the delete function based >solely on the timestamp of the backup_dir "folder", and not on any >particular file "in the folder". If the timestamp "of the folder" is >within the /db# parameter, xxcopy moves on and leave the folder in its >entirety. On the other hand, if the folder is outside the parameter >identified by the /db# switch, xxcopy then removes the folder using the >/rmdir switch (thereby also wiping out all contents within that >folder). An all-or-none function, so to speak. So far, the directory timestamp is used in conjunction with the /DA/DB/DO operation in a carefully chosen set of operations that do not interfere with the filetime comparison operation (the most important case). That is, the timestamp comparison is use in /LTREE operation (which is similar to /L except that it displays only the directory names). In the case of an /LTREE operation, there will be no file-related operation. So, in this limited context, we chose to allow timestamp comparison (/DA/DB/DO) to take effect on the directory. But, this is purely an exception. If we were to allow similar timestamp-related directory selection, we will have to add a new set of switches to do just that. One reason why XXCOPY hardly has any directory timestamp-related feature was the fact we were quite ignorant about how the NT/2K/XP versions allow application programs to manipulate the directory timestamps. If you look back what I have been saying about the directory timestamp, you will find that I had wrong idea about what a program can do with directory timestamps (In Win9X/ME environments, directory timestamps cannot be easily manipulated, and therefore, we could not utilize the full potential of directory timestamps.) But now, XXCOPY just started to have the capability to set and preserve the directory timestamps. So, we will take a look at what we can do with the directory-timestamp features. Probably what we need is a whole new set of switches that parallels to how the /DA/DB/DO switches work with the file timestamps. Kan Yabumoto
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.