Find the path of a shell command
Cameron Simpson
cs at cskk.id.au
Wed Oct 12 17:50:13 EDT 2022
On 12Oct2022 15:16, Dan Sommers <2QdxY4RzWzUUiLuE at potatochowder.com> wrote:
>rm doesn't take that long. Why are you detaching them?
For big things it takes quite a while. On slow discs it can take quite a
while. For directory trees with many files it can take quite a while.
For remove filesystems, even a local to your LAN NAS, it can take quite
a while.
Certainly I've got real world modern day things right now where "quite a
while" can be many minutes.
I've got an `rmr` script of my own whose entire function is to rename
the target to something like `.frm.blah` and then remove `.frm.blah` in
the background. I use it a _lot_.
Ancient anecdote. We got funky new workstations at Uni long ago. For the
first time in my life "rm filename" came back to the command prompt with
no perceptable delay. So fast that I first wondered if it had worked at
all. Previously we'd been using shared minicomputers (PDPs, Vaxen).
Cheers,
Cameron Simpson <cs at cskk.id.au>
More information about the Python-list
mailing list