ls -li /rescue

total 427594
26 -r-xr-xr-x  1 root  wheel  3324376 Jan 12  2007 [
64 -r-xr-xr-x  1 root  wheel  3324376 Jan 12  2007 atacontrol
65 -r-xr-xr-x  1 root  wheel  3324376 Jan 12  2007 atm
66 -r-xr-xr-x  1 root  wheel  3324376 Jan 12  2007 atmconfig
67 -r-xr-xr-x  1 root  wheel  3324376 Jan 12  2007 badsect
68 -r-xr-xr-x  1 root  wheel  3324376 Jan 12  2007 bsdlabel
69 -r-xr-xr-x  1 root  wheel  3324376 Jan 12  2007 bunzip2
70 -r-xr-xr-x  1 root  wheel  3324376 Jan 12  2007 bzcat
71 -r-xr-xr-x  1 root  wheel  3324376 Jan 12  2007 bzip2
72 -r-xr-xr-x  1 root  wheel  3324376 Jan 12  2007 camcontrol
73 -r-xr-xr-x  1 root  wheel  3324376 Jan 12  2007 cat

do
cd /rescue
echo * >/tmp/xxx
edit /tmp/xxx - remove all files that doesn't have 3324376 size, and
one file of 3324376, say it will be cat
then
rm `cat /tmp/xxx`
for x in `cat /tmp/xxx`;do ln cat $x;done

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to