Re: recover overwritten file
[talon commented on 1/22/03 11:48 PM] - Iv been there :) This probably sounds stupid but i do it ... file name /bin/rmx #/bin/sh cp $1 /tmp/`$1` rm -r $1 I call it the recycle bin LoL Thanks for everyone's comments. I got mighty lucky as I had a 5 minute old copy of the file hanging around on another disk. And as someone mentioned, I did learn a very important lesson. Wow. btw I think your recycle bin is a good idea and am going to implement it. -- george donnelly - http://zettai.net/ - We Love Newbies :) Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - ICQ: 51907738 - e:[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: recover overwritten file
On Thu, Jan 23, 2003 at 08:27:05AM -0500, george donnelly wrote: [talon commented on 1/22/03 11:48 PM] - Iv been there :) This probably sounds stupid but i do it ... file name /bin/rmx #/bin/sh cp $1 /tmp/`$1` rm -r $1 I call it the recycle bin LoL Thanks for everyone's comments. I got mighty lucky as I had a 5 minute old copy of the file hanging around on another disk. And as someone mentioned, I did learn a very important lesson. Wow. btw I think your recycle bin is a good idea and am going to implement it. You might want to look at the Removing Files chapter of _Unix Power Tools_ (published by O'Reilly). In the 2nd edition there is a discussion on thsi topic on page 404, and I believe the 3rd edition has it as well. The example given there is an alias instead of a script: 'alias del mv \!* ~/trash'. A cron job to empty that directory periodically is recommended. There's a couple of problems with the idea which are mentioned in the text. Aside from the technical problems, though, I'd be leery of training myself to think of deletion as something safe enough to do without considering the consequences :-) -T -- A world is supported by four things: the teaming of the wise, the justice of the great, the prayers of the righteous, and the valor of the brave. But all of these are as nothing without a ruler who knows the art of ruling. - Prince Raphael Corrino, Discourses on Galactic Leadership To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
recover overwritten file
hi i just overwrote a critical file, can anyone andvise me on how to recover it? thankyou -- george donnelly - http://zettai.net/ - We Love Newbies :) Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - ICQ: 51907738 - e:[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: recover overwritten file
On Thu, 2003-01-23 at 14:16, george donnelly wrote: hi i just overwrote a critical file, can anyone andvise me on how to recover it? thankyou Restore it from backup. If you don't have a backup, then you just learnt a very important lesson. I don't believe there is any way to recover an overwritten file. -- The information contained in this email is confidential. If you are not the intended recipient, you may not disclose or use the information in this email in any way. Dark Blue Sea does not guarantee the integrity of any emails or attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Dark Blue Sea. Dark Blue Sea does not warrant that any attachments are free from viruses or other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: recover overwritten file
On Thursday 23 January 2003 15:16, george donnelly wrote: i just overwrote a critical file, can anyone andvise me on how to recover it? The only way i could forsee you doing this is paying an extrordinate amount of money to a professional data retrieval company which (may) be able to retrieve it. Jacob RhodenPhone: +61 3 8344 6102 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: recover overwritten file
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Duncan Anker wrote: | On Thu, 2003-01-23 at 14:16, george donnelly wrote: | |hi | |i just overwrote a critical file, can anyone andvise me on how to recover |it? | |thankyou - - Iv been there :) This probably sounds stupid but i do it ... file name /bin/rmx #/bin/sh cp $1 /tmp/`$1` rm -r $1 I call it the recycle bin LoL -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) Comment: Signed By Talon With GnuPG iD8DBQE+L3QUyoJQBYFw6XARAn2+AJ0X1AHTdu9grsKN9WUIkepdJVKaIgCgtWMm 8eGOLFGhd4bJ7Csp4zu4uoY= =+uxx -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message