Page 1 of 1

Dirdate Recurse Problem

Posted: Sun Jan 13, 2013 5:50 pm
by JackOfHearts
I am running DirDate v5.7 Portable 64bit on Windws 7 Pro 64.

There seems to be a problem with the "Recurse" (-R) command in DirDate.

If "Disk_2" is a directory and I enter the command:

Code: Select all

dirdate -R -ALL d=01/06/2013 t=00:00:00 Disk_2
Only the dates for directory "Disk_2" are changed, not any of the files inside directory "Disk_2".

If however I enter the command:

Code: Select all

dirdate -R -ALL d=01/06/2013 t=00:00:00 *.*
The dates for directory "Disk_2" are changed as well as the all the files in directory "Disk_2"

If the "Recurse" command is to be recursive, when a specific directory is named and the -R option is used, then all files and subdirectories within the specified directory should also be targeted.

Re: Dirdate Recurse Problem

Posted: Mon Jan 14, 2013 9:01 pm
by DataMystic Support
The Recurse command requires you to specify which files to operate on, because otherwise your wildcard is effectively 'Disk_2'.

It not actually a bug, but an artefact of having to provide a distinction between file operations and folder operations.