folderPath = '/home/user/Downloads'
fso = com.Dispatch('Scripting.FileSystemObject')
folder = fso.GetFolder(folderPath)
MB = 1024 * 1024.0
print('%.2f MB' % (folder.Size / MB))
Get the size of a folder in Linux server