@@ -0,0 +1,559 @@
+#!/usr/bin/env python%0A# coding: utf-8%0A#%0A# Example program to list content of NFS directory%0A%0Aimport sys%0A%0Aimport libnfs%0A%0Adef usage():%0A    print 'Usage: nfs-ls.py %3CNFS-URL%3E'%0A    print ''%0A    print 'Example: nfs-ls.py nfs://127.0.0.1/data'%0A    sys.exit()%0A%0Adef ls(dir):%0A    import libnfs%0A%0A    nfs = libnfs.NFS(dir) %0A    print 'nfs', nfs%0A    for ent in nfs.listdir(%22.%22):%0A        if ent in %5B'.', '..'%5D:%0A            continue%0A        st = nfs.lstat(ent)%0A        print ent, st%0A%0A%0Aif __name__ == %22__main__%22:%0A    if len(sys.argv) != 2:%0A        usage()%0A    ls(sys.argv%5B1%5D)%0A

Add simple 'ls' example