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

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

Dirdate Recurse Problem

Postby 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: 2154
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Dirdate Recurse Problem

Postby 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.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “FileWatcher, DirDate and other Support”

Who is online

Users browsing this forum: No registered users and 4 guests