Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2003 14:21:43 -0500
From:      parv <parv_fm@emailgroups.net>
To:        David Banning <david@skytracker.ca>
Cc:        questions@freebsd.org
Subject:   Re: how to delete a file called ????
Message-ID:  <20030212192143.GA7742@moo.holy.cow>
In-Reply-To: <20030212111232.A6759@skytrackercanada.com>
References:  <20030212111232.A6759@skytrackercanada.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <20030212111232.A6759@skytrackercanada.com>,
wrote David Banning thusly...
>
> I have a file called ???????????????
...
> 
> I can't seem to clean it away.
> 
> rm ????????
> rm '????????'
> rm "????????"
> 
> all do not work.

try something like...

 find . -inum $( /bin/ls -i | fgrep '?' | awk '{print $1}' ) -print0 \
 | xargs -0 rm -f


  - parv

-- 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030212192143.GA7742>