def del_export(exports='/etc/exports', path=None):
 edict = list_exports(exports)
 del edict[path]
 _write_exports(exports, edict)
 return edict

def del_export ( exports = '/etc/exports' , path = None ) : edict = list_exports ( exports ) del edict [ path ] _write_exports ( exports , edict ) return edict
remove an export cli example: .