Date: Thu, 21 Jul 2005 11:13:53 +0200 From: Nelis Lamprecht <nlamprecht@gmail.com> To: Xu Qiang <Qiang.Xu@fujixerox.com> Cc: freebsd-questions@freebsd.org Subject: Re: undelete in FreeBSD? Message-ID: <7cbadc8705072102132d8fe2bd@mail.gmail.com> In-Reply-To: <20050721070434.254A11D930@imss.sgp.fujixerox.com> References: <20050721070434.254A11D930@imss.sgp.fujixerox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/21/05, Xu Qiang <Qiang.Xu@fujixerox.com> wrote: > Hi, all: >=20 > I mis-deleted /usr/local/bin directory in my FreeBSD. How can I restore i= t? >=20 There isn't a way to restore unless you have a backup. However, most of the binary files in /usr/local/bin are from packages/ports you have installed on your system. So you may be able to get away with using portupgrade(/usr/ports/sysutils/portupgrade) to re-install those packages and therefore "restoring" some if not all of /usr/local/bin. Do a portupgrade -f -a which forces portupgrade to re-install all packages/ports you have currently installed. Good luck. Nelis
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7cbadc8705072102132d8fe2bd>