On 7/4/05, John Wright <[EMAIL PROTECTED]> wrote:
> On Mon, Jul 04, 2005 at 09:00:18AM +0100, unixadmin99 wrote:
> > Oops!
> > Accidently emptied half the contents of src.tar.gz into /usr/bin while
> > undergoing an install under the intoxication of sleep.
> > What's the most efficient way of rectifying this?
> 
> src.tar.gz is mostly directories and /usr/bin shouldn't have any.
> 
> cd /usr/bin
> for d in *; do
>   if [ -d "$d" ]; then
>      echo $d
>   fi
> done
> echo Makefile
> 
> Should list what needs deleting.
> 
Thanks guys,
Indeed /usr/bin should not contain directories.
Followed John's advice and compared against a known good.

Thanks again.

-- 
~michael

Reply via email to