[ad_1]
This is my path , where my folders are present after {date}/.
The month and date keeps changing according
local=f"/home/server/Desktop/backupdestination/{year}/{month}/{date}/"
I want to find the file size of folder present after{date}/ using du command through python(subprocess module)
And get output printed like this
DATE 28: SERVER 1 Size of [‘foldername:folersize’, ‘foldername:folersize’]
DATE 29: SERVER 1 Size of [‘foldername:folersize’,’foldername:folersize’]
How can i loop them?
[ad_2]