I am trying to find the size of a folder, and add 1M to it. The 1M is just spacing that I need for other reasons.
Here is what I have tried:
echo $($(du -sh myFolder) + 1) # command not found: 170M
echo $(`du -sh myFolder` + 1) # same as above
I want to be able to save this to a variable so I can use it in a dd call.