Re: How to kill a dir?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 05 Jan 2004 21:22:57 +0000, WipeOut <wipe_out@xxxxxxxxxxxxxxxxxxxxx>
wrote:


>
>[root@dev02 i386]# ls -lai
>ls: ??*?: Invalid or incomplete multibyte or wide character
>total 16
> 799767 drwxrwsr-x    3 root     root         4096 Jan  5 18:04 .
>1665003 drwxrwsr-x    3 root     root         4096 Nov 12 07:03 ..
> 799769 drwxrwsr-x    2 root     root         8192 Jan  4 19:44 test
>[root@dev02 i386]# find . -inum 799769 -exec rm {} \;
>rm: cannot remove `./test': Is a directory
>find: ./??*?: No such file or directory
>
>No joy..
>
>Looks like I have found a weird one huh!!..

How about 

   mv *test* newname
   cd newname
   rm -f -r *
   cd ..
   rmdir newname




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux