Package iceprod :: Package client :: Module commands :: Class loadfiles
[hide private]
[frames] | no frames]

Class loadfiles

source code

object --+    
         |    
   Command --+
             |
            loadfiles

Command: loadfiles <rootdir> [<rootdir>] [regex=<regex>] [dataset=<dataset_id>]

Get list of files in rootdir(s) and add them to database
dictionary table if they match the regex.
 
Arguments:
  <rootdir>     Directory of files
  regex=<regex> (Optional) A regex to match against
  regex=<regex> (Optional) A regex to match against
  
Returns:
  Error message on failure.
 

Instance Methods [hide private]
 
Execute(self, shell) source code
 
CheckArgs(self, args) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  shortdoc = 'loadfiles <rootdir> [<rootdir>] [regex=<regex>] [d...
hash(x)
  numArgs = 1
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

Execute(self, shell)

source code 
Overrides: Command.Execute

CheckArgs(self, args)

source code 
Overrides: Command.CheckArgs

Class Variable Details [hide private]

shortdoc

hash(x)

Value:
'loadfiles <rootdir> [<rootdir>] [regex=<regex>] [dataset=<dataset_id>\
]'