Re: undelete in FreeBSD?

2005-07-26 Thread Karel Miklav
Xu Qiang wrote: ... is the lack of a cyclin bin, from which you can restore anything you have mis-deleted before. Or, am I mis-informed on this issue? I scratched my head about it too and finally wrote a simple script which moves trashed items into auto made date-stamped directories. I can

Re: undelete in FreeBSD?

2005-07-26 Thread Peter
Hi, this tip is taken from BSD hacks book(http://www.amazon.com/exec/obidos/tg/detail/-/0596006799/002-3776521-4670458?v=glance) Create a Trash Directory Save deleted files until you're really ready to send them to the bit bucket. One of the first things Unix users learn is that deleted

Re: undelete in FreeBSD?

2005-07-26 Thread Karel Miklav
Peter wrote: this tip is taken from BSD hacks I do not believe this! This girl literally stole my script, traveled back through time to cover the tracks and made an article out of her shameless act :) Anyway, here's the original version of 'the trash': #! /bin/sh # Move files in a trash

RE: undelete in FreeBSD?

2005-07-26 Thread Xu Qiang
Ross Kendall Axe wrote: Yes. MS-Windows doesn't have anything Unix doesn't in this regard. I take it you're not familiar with the DOS/Windows 'del' command... Hehe, this is a good analog I didn't think of. :) If he's worried about accidentally deleting files, he should use KDE or Gnome.

RE: undelete in FreeBSD?

2005-07-26 Thread Glenn Dawson
At 10:48 PM 7/25/2005, Xu Qiang wrote: Ross Kendall Axe wrote: Yes. MS-Windows doesn't have anything Unix doesn't in this regard. I take it you're not familiar with the DOS/Windows 'del' command... Hehe, this is a good analog I didn't think of. :) If he's worried about accidentally

Re: undelete in FreeBSD?

2005-07-26 Thread Ross Kendall Axe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Glenn Dawson wrote: At 10:48 PM 7/25/2005, Xu Qiang wrote: Ross Kendall Axe wrote: Yes. MS-Windows doesn't have anything Unix doesn't in this regard. I take it you're not familiar with the DOS/Windows 'del' command... Hehe, this is a good

RE: undelete in FreeBSD?

2005-07-25 Thread Xu Qiang
Glenn Sieb wrote: Nelis Lamprecht said the following on 7/21/2005 5:13 AM: 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

RE: undelete in FreeBSD?

2005-07-25 Thread Glenn Dawson
At 07:51 PM 7/25/2005, Xu Qiang wrote: I am just wondering the only shortcoming of Unix clone, such as FreeBSD, in contrast to M$ Windows, is the lack of a cyclin bin, from which you can restore anything you have mis-deleted before. Or, am I mis-informed on this issue? If you're really

Re: undelete in FreeBSD?

2005-07-25 Thread casey
Glenn Dawson wrote: At 07:51 PM 7/25/2005, Xu Qiang wrote: I am just wondering the only shortcoming of Unix clone, such as FreeBSD, in contrast to M$ Windows, is the lack of a cyclin bin, from which you can restore anything you have mis-deleted before. Or, am I mis-informed on this issue?

Re: undelete in FreeBSD?

2005-07-25 Thread Ross Kendall Axe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Glenn Dawson wrote: At 07:51 PM 7/25/2005, Xu Qiang wrote: I am just wondering the only shortcoming of Unix clone, such as FreeBSD, in contrast to M$ Windows, is the lack of a cyclin bin, from which you can restore anything you have mis-deleted

Re: undelete in FreeBSD?

2005-07-24 Thread Louis LeBlanc
On 07/24/05 07:16 AM, Mario Hoerich sat at the `puter and typed: # Aaron Siegel: [ there is no un-rm ] One option I have seen for creating your own restore is to create a script that will move files you want to delete to a temporary directory, a Trash Bin. Then use your shells

Re: undelete in FreeBSD?

2005-07-23 Thread Aaron Siegel
Hello One option I have seen for creating your own restore is to create a script that will move files you want to delete to a temporary directory, a Trash Bin. Then use your shells aliases to alias the script to the rm command. On Thursday 21 July 2005 1:07 am, Xu Qiang wrote: Hi, all: I

Re: undelete in FreeBSD?

2005-07-23 Thread Mario Hoerich
# Aaron Siegel: [ there is no un-rm ] One option I have seen for creating your own restore is to create a script that will move files you want to delete to a temporary directory, a Trash Bin. Then use your shells aliases to alias the script to the rm command. Don't *ever* create aliases

Re: undelete in FreeBSD?

2005-07-22 Thread Glenn Sieb
Nelis Lamprecht said the following on 7/21/2005 5:13 AM: On 7/21/05, Xu Qiang [EMAIL PROTECTED] wrote: Hi, all: I mis-deleted /usr/local/bin directory in my FreeBSD. How can I restore it? There isn't a way to restore unless you have a backup. However, most of the binary files in

undelete in FreeBSD?

2005-07-21 Thread Xu Qiang
Hi, all: I mis-deleted /usr/local/bin directory in my FreeBSD. How can I restore it? Looking for your help urgently, thanks, Xu Qiang ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: undelete in FreeBSD?

2005-07-21 Thread Hornet
On 7/21/05, Xu Qiang [EMAIL PROTECTED] wrote: Hi, all: I mis-deleted /usr/local/bin directory in my FreeBSD. How can I restore it? Looking for your help urgently, thanks, Xu Qiang Use your backups, you do make backups dont you? ___

RE: undelete in FreeBSD?

2005-07-21 Thread Xu Qiang
Hornet wrote: On 7/21/05, Xu Qiang [EMAIL PROTECTED] wrote: Hi, all: I mis-deleted /usr/local/bin directory in my FreeBSD. How can I restore it? Looking for your help urgently, thanks, Xu Qiang Use your backups, you do make backups dont you? Never backup /usr/local/bin

Re: undelete in FreeBSD?

2005-07-21 Thread Nelis Lamprecht
On 7/21/05, Xu Qiang [EMAIL PROTECTED] wrote: Hi, all: I mis-deleted /usr/local/bin directory in my FreeBSD. How can I restore it? 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