ptrash(1)
π ptrash(1) β the General Commands Manual, but make it a group chat π
okay bestie, welcome to the <rainbow>ptrash(1)</rainbow> page, the one and only manual for our girl ptrash. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
ptrash β move file(s) to the ~/.trash directory. that's it. that's the whole job. she moves stuff to the trash and she does it flawlessly. π
πΈ SYNOPSIS πΈ
ptrash [OPTIONS] file-name-1 [file-name-2 ...]
see how she takes multiple file names? yeah. she's not a one-file kind of girl. π
π¦ DESCRIPTION π¦
so, ptrash is a console based simple application, and honestly? lowkey iconic for it. what she does is take the file(s) you named and move them into the trash directory that lives under your home directory β aka ~/.trash.
and here's the cute part: if ~/.trash doesn't exist yet, she doesn't just give up and cry about it π. she creates it for you and then moves your file(s) in there. self-sufficient queen. main character energy fr.
now, the thing you gotta know, bestie: by default ptrash runs in non-interactive mode. which means she does not ask you if you're sure before moving a file to ~/.trash β even when the named file already exists in trash. she just goes ahead and overwrites that file. no warning, no vibe check, nothing. so know what you're doing, okay? π«Ά
π OPTIONS π
ptrash supports the following options, and yes we're going through every single one because they all matter:
-d,--deleteβ delete file(s) from trash. like, gone gone. ποΈ-iβ enables an interactive moving of files to/from trash. ie. it asks for confirmation before over writing OR deleting any existing file. she'll stop and ask, bestie. so polite of her. π-r,--restoreβ restore a file from trash to it's original location. bringing your baby back home. π β¨-h,--helpβ prints this short usage help. the quick lil recap when you forget everything. π-v,--verboseβ verbose operation mode. she'll tell you everything she's doing, no secrets. π£οΈ-V,--versionβ displays the version information. gotta know which era ofptrashyou're living in. β
π SEE ALSO π
the girlies she runs with: cp(1) mv(1) rm(1) shred(1)
(iykyk β shred(1) is the intense one π)
π BUG(s) π
if you think you have found a bug in ptrash, please write to me with the ptrash-<version> string in the subject line, explaining precisely about the behaviour of ptrash. be specific, be detailed, give me the whole story β not just "it broke". π€
π§ NOTE π§
ptrashdoes not facilitate moving of symbolic links to/from~/.trash. no cap. don't try it, don't be surprised by it.
π AUTHOR π
Prasad J Pandit <pj.pandit at yahoo.co.in>
and that's the whole ptrash(1) manual, bestie!! you ate that reading. go forth and trash responsibly π«Άβ¨ππ¦πΈπ
π¦ where this page comes from
- fedora 43: ptrash 1.1-22.fc43 Β· GPL-2.0-or-later
- fedora 44: ptrash 1.1-23.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms