linux delete folder with subfolders code example Example: linux delete subfolders rm -rf /config/filegroups/*/