logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git/

rmdir.1 (1000B)


  1. .\" utils-std: Collection of commonly available Unix tools
  2. .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. .\" SPDX-License-Identifier: MPL-2.0
  4. .Dd 2024-08-30
  5. .Dt RMDIR 1
  6. .Os
  7. .Sh NAME
  8. .Nm rmdir
  9. .Nd remove directories
  10. .Sh SYNOPSIS
  11. .Nm
  12. .Op Fl pv
  13. .Op Fl -ignore-fail-on-non-empty
  14. .Ar directory...
  15. .Sh DESCRIPTION
  16. The
  17. .Nm
  18. utility removes each given
  19. .Ar directory .
  20. .Sh OPTIONS
  21. .Bl -tag -width aa
  22. .It Fl -ignore-fail-on-non-empty
  23. Ignore failures to remove non-empty directories
  24. .It Fl p
  25. Remove all parents directories present in the
  26. .Ar directory
  27. argument, but not beyond.
  28. This is effectively the opposite of
  29. .Cm mkdir
  30. .Fl p
  31. .Ar directory
  32. .It Fl v
  33. Verbose, print each action done
  34. .El
  35. .Sh EXIT STATUS
  36. .Ex -std
  37. .Sh SEE ALSO
  38. .Xr rm 1
  39. .Sh STANDARDS
  40. .Nm
  41. should be compliant with the
  42. IEEE Std 1003.1-2024 (“POSIX.1”)
  43. specification.
  44. .Pp
  45. The
  46. .Fl v
  47. and
  48. .Fl -ignore-fail-on-non-empty
  49. options are extensions.
  50. .Sh AUTHORS
  51. .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me