Help for this page

Select Code to Download


  1. or download this
    Cutoff_date = Todays_date - 31
    For each file
    ...
        delete file
      End If statement
    End For each loop
    
  2. or download this
    #!/sbin/sh
    touch -t `date +"%m%d%H%M.%S"` timefile
    sleep 5  #sleep 5 seconds
    touch timefile2
    echo `find ./ -type f -newer timefile`