IRMTRASH(1)

πŸ“¦ version 5.0.2, in nixos 26.05

πŸ’… NAME

okay so bestie, this is irmtrash, aka the IRMTRASH(1) page β€” an iRODS iCommand. Yes, it does exactly what the name implies: it takes out the trash. πŸ—‘οΈβœ¨


✨ SYNOPSIS

irmtrash [-hMrvV] [--orphan] [-u user] [-z zoneName] [--age age_in_minutes] [dataObj|collection ...]

πŸŽ€ DESCRIPTION

It removes one or more dataObj|collection from an iRODS trash bin. Like, the actual deleting-from-the-trash moment. πŸ’…

If you don't specify the input dataObj|collection, the entire trash bin of the user at /myZone/trash/myUserName gets removed. Whole thing. Poof. 🫢

You can use dataObj|collection to specify the paths of dataObj|collection in the trash bin that need to be deleted. If the path is relative (meaning it does not start with /), the path is assumed to be relative to the user's trash home path, e.g. /myZone/trash/home/myUserName. Path girlies know. 🧚

An admin user can use the -M option to delete other users' trash bins. The -u option can be used by an admin user to delete the trash bin of a specific user. If the -u option is not used, the trash bins of all users will be deleted. No cap, that's a big deal. 😭πŸ”₯

Options are: πŸ’–

  • -r β€” recursive β€” remove the whole subtree: the collection, all data-objects in the collection, and any subcollections and sub-data-objects in the collection. It's giving β€œclean sweep.” πŸŒͺ️
  • -M β€” admin mode. Main character admin energy. πŸ‘‘
  • --orphan β€” remove the orphan files in the /myZone/trash/orphan collection. It must be used with the -M option. Not optional-optional, bestie. 🚨
  • -u β€” user β€” used with the -M option, allowing an admin user to delete a specific user's trash bin. 🎯
  • -v β€” verbose. Tell me everything. πŸ‘€
  • -V β€” Very verbose. Tell me everything everything. πŸ’€
  • -z β€” zoneName β€” the zone where the rm trash will be carried out. Zone check! 🌍
  • -h β€” this help. Your little emergency guide. 🫢
  • --age age_in_minutes β€” this one appears in the synopsis, but the Options are: list here doesn't give it its own separate description. Not inventing lore, just preserving the facts. πŸ§šβ€β™€οΈ
Heads-up, bestie: --orphan only works with -M, and -u is an admin-mode thing. Keep those pairings cute and correct. πŸ’…

okay that's the whole page, bestie β€” irmtrash, iRODS Version 5.0.2, source/version iRODS-5.0.2, dated January 1980, page IRMTRASH(1). mwah πŸ’–πŸŽ€

πŸ“¦ where this page comes from