Dear all,
I am using BC2 v2.4.1 to delete some old backup files with the following script:
However, this just deletes all the files in the directory.
A search on the forum revealed a similar problem:
filter question
but my script seems to be correct.
Does anyone have any ideas as to why my script isn't working? I would greatly appreciate any help you could offer.
Thanks in advance,
Dan
I am using BC2 v2.4.1 to delete some old backup files with the following script:
#
criteria attrib:sh version timestamp:2sec binary
option confirm:yes-to-all
#
load "D:\Backups\" "D:\Backups\"
filter cutoff:<14days
expand all
select all
delete all
#
criteria attrib:sh version timestamp:2sec binary
option confirm:yes-to-all
#
load "D:\Backups\" "D:\Backups\"
filter cutoff:<14days
expand all
select all
delete all
#
A search on the forum revealed a similar problem:
filter question
but my script seems to be correct.
Does anyone have any ideas as to why my script isn't working? I would greatly appreciate any help you could offer.
Thanks in advance,
Dan
Comment