how to remove only subfolders in directory in linux code example Example: linux delete subfolders rm -rf /config/filegroups/*/