Remove directory tree without following symlinks
Gregory Ewing
greg.ewing at canterbury.ac.nz
Sat Apr 23 07:37:35 EDT 2016
Steven D'Aprano wrote:
> But seriously, where is that documented? I've read the man page for rm, and
> it doesn't say anything about treatment of symlinks
The Linux man page seems to be a bit deficient on this.
The BSD version contains this sentence:
The rm utility removes symbolic links, not the files referenced by the
links.
--
Greg
More information about the Python-list
mailing list