Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^3: Modifying a directory file

by virtualsue (Vicar)
on Jan 10, 2018 at 11:38 UTC ( #1207051=note: print w/replies, xml ) Need Help??

in reply to Re^2: Modifying a directory file
in thread Modifying a directory file

Now that you say that the goal is to remove the file, I would try deleting it by inode, bypassing the filename altogether. A combination of ls & find will probably do the job. Web searches should turn up a useful recipe. If that failed, I would cheerfully ignore it in the knowledge that the drive is going to die some day. I'm mildly curious as to how it got to Trash (since files don't tend to originate there, so it was moved there by something). Not curious enough to experiment though. I have a list of quixotic tasks I'm working on already.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1207051]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2021-04-16 22:30 GMT
Find Nodes?
    Voting Booth?

    No recent polls found