delete older than

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • loop
    New User
    • Jul 2008
    • 1

    delete older than

    this should be fairly simple but I am having an issue.
    I want to delete all files in a folder structure that have not been accessed in the last 30 days.
    this is my script:
    "
    log normal "C:\Program Files\Beyond Compare 2\sdrivelog.txt"

    criteria timestamp
    option confirm:yes-to-all
    load "\\market\shared"
    filter cutoff:>30days
    expand all
    select all.files
    delete all
    "
    the problem is it deletes all files that have not been modified in 30 days and I need to use the last accessed timestamp.
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #2
    Hi Loop,

    The date filter uses the modified timestamp. It isn't possible to filter on the last accessed timestamp in Beyond Compare.
    Chris K Scooter Software

    Comment

    Working...