Manual says the date is specified in the same format as is specified by the dateformat option, so no.
>>> [EMAIL PROTECTED] 28/05/2004 2:29:07 >>> Thanks Steve for your suggestion. Just for my own information though, does the -fromdate option take relative dates like -fromdate=today-3? On 5/23/04 6:02 PM, "Steve Harris" <[EMAIL PROTECTED]> wrote: > Renee, > > Provided that you have a recent version of the client, you can pass a list of > files to it with -filelist > > Just use the appropriate find command for your OS to create the list before > invoking dsmc. > > eg for unix > > find /foo/bar -name '*.frobz" -mtime +5 -path > /tmp/backup$$ > dsmc arch -<other options as necessary> -deletefiles -filelist /tmp/backup$$ > rm /tmp/backup$$ > > HTH > > Steve Harris > AIX and TSM Admin > Queensland Health, Brisbane Australia > > >>>> [EMAIL PROTECTED] 21/05/2004 6:39:06 >>> > I have a user that wishes to run a batch job that archives a certain > directory and deletes the files afterwards. In selecting the files to be > archived and deleted, he wants to use a relative date (like -deletefile > -fromdate=today-5) since this is a script and he does not wish to have to > modify the date every time. Any ideas how to accomplish this would be > helpful and also, does anyone know if the -fromdate -todate options accept > relative dates? > -- > Renee Davis > University of Houston > > > > ****************************************************************************** > ***** > This email, including any attachments sent with it, is confidential and for > the sole use of the intended recipient(s). This confidentiality is not waived > or lost, if you receive it and you are not the intended recipient(s), or if it > is transmitted/received in error. > > Any unauthorised use, alteration, disclosure, distribution or review of this > email is prohibited. It may be subject to a statutory duty of confidentiality > if it relates to health service matters. > > If you are not the intended recipient(s), or if you have received this email > in error, you are asked to immediately notify the sender by telephone or by > return email. You should also delete this email and destroy any hard copies > produced. > ****************************************************************************** > ***** *********************************************************************************** This email, including any attachments sent with it, is confidential and for the sole use of the intended recipient(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/received in error. Any unauthorised use, alteration, disclosure, distribution or review of this email is prohibited. It may be subject to a statutory duty of confidentiality if it relates to health service matters. If you are not the intended recipient(s), or if you have received this email in error, you are asked to immediately notify the sender by telephone or by return email. You should also delete this email and destroy any hard copies produced. ***********************************************************************************
