14 payloadDir =
"./Payloads_Repro2010Nov09/" 15 aCommand =
"ls " + payloadDir +
" | grep BeamSpotObjects_2009_LumiBased_ | grep txt" 16 output = commands.getstatusoutput( aCommand )
17 listOfFiles = output[1].
split(
'\n')
20 for fileName
in listOfFiles:
21 fileNameRoot = fileName[0:len(fileName)-4]
def uploadSqliteFile(sqliteFileDirName, sqliteFileName, dropbox="/DropBox")