Python Execute Command Linux Directory Hierarchy