Browse Source

changed the default for days older

Made days older a future date by default to be sure that all files are included when it is not specified.
master
Gerry Nelson 7 years ago
committed by GitHub
parent
commit
bd0055fabb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      archivefiles.py

2
archivefiles.py

@ -35,7 +35,7 @@ parser = argparse.ArgumentParser()
parser.add_argument("-n","--name", help="Name contains",default=None) parser.add_argument("-n","--name", help="Name contains",default=None)
parser.add_argument("-c","--type", help="Content Type in.",default=None) parser.add_argument("-c","--type", help="Content Type in.",default=None)
parser.add_argument("-p","--parent", help="ParentURI starts with.",default=None) parser.add_argument("-p","--parent", help="ParentURI starts with.",default=None)
parser.add_argument("-d","--days", help="List files older than this number of days",default='0') parser.add_argument("-d","--days", help="List files older than this number of days",default='-1')
parser.add_argument("-m","--modifiedby", help="Last modified id equals",default=None) parser.add_argument("-m","--modifiedby", help="Last modified id equals",default=None)
parser.add_argument("-fp","--path", help="Path of directory to store files",default='/tmp') parser.add_argument("-fp","--path", help="Path of directory to store files",default='/tmp')
parser.add_argument("-x","--delete", help="Delete Files from Viya",action='store_true') parser.add_argument("-x","--delete", help="Delete Files from Viya",action='store_true')

Loading…
Cancel
Save