I usually delete empty files and folders in my home directory with find using the following command:
find /home/tjuh -empty -delete
However I would like to exlcude one folder, namely /home/tjuh/.local/share/Steam/steamapps/common/
so I tried:
find . -not -path '/home/tjuh/.local/share/Steam/steamapps/common/' -empty
to see if that specific folder is excluded from the search but it's not really working the way I want it to.
Any suggestions?