8 error =
"Usage: copyFiles.py fromDir destDir (optional filter)" 12 if (fromDir[len(fromDir)-1] !=
'/'):
14 destDir = sys.argv[2] +
"/" 18 fileList =
ls(fromDir,filter)
19 copiedFiles =
cp(fromDir,destDir,fileList)
21 if len(copiedFiles) != len(fileList):
22 error =
"ERROR: I couldn't copy all files from " + fromDir
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)