Steven D'Aprano <st...@pearwood.info> writes: > I want to remove a directory, including all files and subdirectories under > it, but without following symlinks. I want the symlinks to be deleted, not > the files pointed to by those symlinks.
rm -r shouldn't follow symlinks like you mention. -- https://mail.python.org/mailman/listinfo/python-list