Re: Need to remove a ghost file, but can't because it doesn't exist
On 11/15/2006 10:10 AM, J.A. de Vries wrote:
> Hi,
>
> I have a problem with a file which seems to not exist, but that makes
> applications like rsync, offlineimap and tar crash, because they try to read it
> anyway (not their fault as far as I can tell).
>
> However when I try to find that file in the cur directory something weird
> happens:
>
> #-------------------------------------------------------------------------------
> # cd ~/Maildir/.Applications.\[vim\]/cur
> # ls 1141914051.*
> ls: 1141914051.M484859P8695V0000000000000309Ip0007553_0.draupnir,S=3707:2,S: No such file or directory
> #-------------------------------------------------------------------------------
> To be honest I don't know what to do next. I really want to backup my mail,
> but cannot because of this problem. To solve the problem I need to remove the
> file, but when I do try such I get told it isn't there. Any suggestions?
>
> Your help would be very much appreciated.
>
> Sincerely,
>
> HdV
>
>
How about:
# rm -f 1141914051.*
No promises... but something like that worked once for me in a similar
mysterious situation.
Good luck,
Ralph
Reply to: