chrislu 5 months ago
parent
commit
e825dd7496
  1. 4
      weed/shell/command_remote_uncache.go

4
weed/shell/command_remote_uncache.go

@ -165,12 +165,12 @@ func (ff *FileFilter) matches(entry *filer_pb.Entry) bool {
}
}
if *ff.minAge != -1 {
if entry.Attributes.Crtime + *ff.minAge < time.Now().Unix() {
if entry.Attributes.Crtime + *ff.minAge > time.Now().Unix() {
return false
}
}
if *ff.maxAge != -1 {
if entry.Attributes.Crtime + *ff.maxAge > time.Now().Unix() {
if entry.Attributes.Crtime + *ff.maxAge < time.Now().Unix() {
return false
}
}

Loading…
Cancel
Save