Dirdate Recurse Problem

Discuss our other products here. Get help with installation and running, notify us of bugs, request new features and enhancements.

Moderators: DataMystic Support, Moderators

Post Reply
Posts: 1
Joined: Sun Jan 13, 2013 5:36 pm

Dirdate Recurse Problem

Post by JackOfHearts » Sun Jan 13, 2013 5:50 pm

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.

User avatar
DataMystic Support
Site Admin
Posts: 2238
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia

Re: Dirdate Recurse Problem

Post by DataMystic Support » Mon Jan 14, 2013 9:01 pm

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.

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads

Post Reply