Re: [opensuse] undelete files that were deletet with rm?

2006-01-03 Thread Reinhard Gimbel

Hello community !

Ken Schneider wrote:


I just wanted to type rm *~ to kill the backup files in my folder.
Accidently, I slid of the key and mistyped the command. So it became
rm * an all my data is los. Under MS-DOS there is a command called
undelete which one can use to recover data. How is the command under
Suse Linux 10.0?
 

Which is why I always recommend to people to use rm -i -if- they are
using -any- wildcards at all. It might be a pain in the butt to answer
'y' for each file but in this case you would have saved more than just
time.


That's why I use the alias feature of bash to set the -i-option for 
most of the dangerous commands dealing with file on CLI level ...


alias cp='cp -pi'
alias mv='mv -i'
alias rm='rm -i'

Unfortunately this is not the help the original poster needs now ...
--
Never give up !

Best regards,
Reinhard.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] undelete files that were deletet with rm?

2006-01-03 Thread jdd
Reinhard Gimbel wrote:

 That's why I use the alias feature of bash to set the -i-option for
 most of the dangerous commands dealing with file on CLI level ...

and so most of the time you type rm -f *...

jdd

-- 
Bonne année à tous :-)
http://www.dodin.net
Quelques images:
http://dodin.org/galerie_photo_web/expo/index.html

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] undelete files that were deletet with rm?

2006-01-03 Thread Reinhard Gimbel

Hello community !

jdd wrote:


That's why I use the alias feature of bash to set the -i-option for
most of the dangerous commands dealing with file on CLI level ...


and so most of the time you type rm -f *...


No !

I use the -f-option in conjunction with the -r-option only to remove 
folders.


The question is how often one needs to delete files, right ? ;-)
--
Never give up !

Best regards,
Reinhard.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] undelete files that were deletet with rm?

2006-01-03 Thread Randall R Schulz
Christian,

On Tuesday 03 January 2006 03:13, Christian Lange wrote:
 On http://www.goldfisch.at/knowledge/326 it says:
 after unmounting the partition you can try: 

 Well, that´s funny.^^ How can I unmount my Linux Partition (I´ve got
 only one) and still let Linux work? Can Knoppix help?

Root partitions cannot be unmounted during operation, only at shut-down. 
An alternate root / boot (including Knoppix or UBCD) will allow 
unmounted manipulation of a file system that cannot otherwise be 
unmounted during normal operations, but even more changes will be made 
to that file system during the shutdown process.

In fact, given normal system operations (logging, e.g.) and the fact 
that your files are all on one file system (and the fact that you've 
been using the system for, say, this email dialog?) suggests you are 
rather unlikely to be able to recover much.


Randall Schulz

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] undelete files that were deletet with rm?

2006-01-03 Thread Rasmus Plewe
On Tue, Jan 03, 2006 at 06:49:15AM -0800, Randall R Schulz wrote:
 On Tuesday 03 January 2006 04:43, jdd wrote:
  Reinhard Gimbel wrote:
   That's why I use the alias feature of bash to set the -i-option
   for most of the dangerous commands dealing with file on CLI level
 
  and so most of the time you type rm -f *...
 
 Check it out. The -i option trumps -f, regardless of their order.

$ touch foo
$ rm -if foo
$ touch foo
$ rm -fi foo
rm: remove regular empty file `foo'? y
$ 


Rasmus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] undelete files that were deletet with rm?

2006-01-03 Thread Randall R Schulz
Rasmus,

On Tuesday 03 January 2006 07:20, Rasmus Plewe wrote:
 On Tue, Jan 03, 2006 at 06:49:15AM -0800, Randall R Schulz wrote:
  On Tuesday 03 January 2006 04:43, jdd wrote:
   Reinhard Gimbel wrote:
That's why I use the alias feature of bash to set the
-i-option for most of the dangerous commands dealing with
file on CLI level
  
   and so most of the time you type rm -f *...
 
  Check it out. The -i option trumps -f, regardless of their
  order.

 $ touch foo
 $ rm -if foo
 $ touch foo
 $ rm -fi foo
 rm: remove regular empty file `foo'? y
 $

How very lame. What I said is true of cp but not of rm! (The cp 
behavior always bugs me 'cause adding the -f doesn't help and I have 
to enter the full path name to the binary if I want to overwrite a file 
with the cp command.)


 Rasmus


Randall Schulz

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] undelete files that were deletet with rm?

2006-01-03 Thread Aschwin Marsman
On Tue, 3 Jan 2006, Reinhard Gimbel wrote:

 That's why I use the alias feature of bash to set the -i-option for most
 of the dangerous commands dealing with file on CLI level ...
 
 alias cp='cp -pi'
 alias mv='mv -i'
 alias rm='rm -i'

And when you know what you are doing you put a backslash
before the command so the alias is not used.

Kind regards,

Aschwin Marsman

-- 
[EMAIL PROTECTED]  http://www.marsman.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Tips for an SUSE newbie?

2006-01-03 Thread ashutosh
Why not try 'SMART'?
On Saturday 31 December 2005 02:36, [EMAIL PROTECTED] wrote:
 Well I'm finally making the move to SUSE. I've been running Fedora / red
 hat for years. I'm currently installing open SUSE v10 on my new IBM Z60m
 thinkpad. I have a few questions..

 I was able to add more yum repositories to fedora, is there an equivelant
 for SUSE?

 How about updating, do I stull use yum or are there other, better methods?

 Any general tips ?

 Thanks in advance for your advice...

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Tips for an SUSE newbie?

2006-01-03 Thread Joseph M. Gaffney
Or just use YaST and add repos.

http://www.opensuse.org/YaST_Installation_Source

-CuCullin

On Tuesday 03 January 2006 11:28, ashutosh wrote:
 Why not try 'SMART'?

 On Saturday 31 December 2005 02:36, [EMAIL PROTECTED] wrote:
  Well I'm finally making the move to SUSE. I've been running Fedora / red
  hat for years. I'm currently installing open SUSE v10 on my new IBM Z60m
  thinkpad. I have a few questions..
 
  I was able to add more yum repositories to fedora, is there an equivelant
  for SUSE?
 
  How about updating, do I stull use yum or are there other, better
  methods?
 
  Any general tips ?
 
  Thanks in advance for your advice...
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] undelete files that were deletet with rm?

2006-01-03 Thread Christopher Shanahan
On Tuesday 03 January 2006 05:51, Christian Lange wrote:
 Hi

 I just wanted to type rm *~ to kill the backup files in my folder.
 Accidently, I slid of the key and mistyped the command. So it became rm *
 an all my data is los. Under MS-DOS there is a command called undelete
 which one can use to recover data. How is the command under Suse Linux
 10.0?

If your data is/was important, then STOP using the partition/disk! Get another
disk and attach that to your system (slave). Use a liveCD (knoppix, SLAX, DSL,
whatever you prefer) to boot your machine. dd the partition with the deleted
files to your second disk. Now you have a copy of the affected disk/partition
and you can start the process of learning data recovery. You can experiment
with reiserfs debugging tools as well as TSK/Autopsy and data carving with
foremost. The most important point is to stop using the partition/disk right
away. The Reiser filesystem is very robust and makes good use of space, unlike
MS filesystems. Deleted files are very difficult to recover from Reiser
filesystems -- though not impossible. Feel free to contact me off-list if you
need specific pointers.

HTH

--
Christopher Shanahan


pgpMObXPnUjRu.pgp
Description: PGP signature


Re: [opensuse] undelete files that were deletet with rm?

2006-01-03 Thread Christian Lange
Thanks for the hint, but the lost data is on my notebook. I cannot easily 
connect my IDE disk to it (don´t have an adapter). I´ve got a 250GB external 
USB-Harddisk, but it´s formatted with NTFS and Linux cannot write to this 
filesystem.
I guess it is a lot faster when I sit down one or two days and rewrite the data 
(the deleted files where the PHP Files of our Hompage at the Economics Chair of 
our university) than to try and handle with different disks and programs. ;)
I hoped there would be an easy to use programm to recover the deleted files. 
Install, rescue, be happy - you know? Like i´m used to from Windows 
(sometimes).^^


opensuse@opensuse.org schrieb am 03.01.06 17:49:08:
 
 On Tuesday 03 January 2006 05:51, Christian Lange wrote:
  Hi
 
  I just wanted to type rm *~ to kill the backup files in my folder.
  Accidently, I slid of the key and mistyped the command. So it became rm *
  an all my data is los. Under MS-DOS there is a command called undelete
  which one can use to recover data. How is the command under Suse Linux
  10.0?
 
 If your data is/was important, then STOP using the partition/disk! Get another
 disk and attach that to your system (slave). Use a liveCD (knoppix, SLAX, DSL,
 whatever you prefer) to boot your machine. dd the partition with the deleted
 files to your second disk. Now you have a copy of the affected disk/partition
 and you can start the process of learning data recovery. You can experiment
 with reiserfs debugging tools as well as TSK/Autopsy and data carving with
 foremost. The most important point is to stop using the partition/disk right
 away. The Reiser filesystem is very robust and makes good use of space, unlike
 MS filesystems. Deleted files are very difficult to recover from Reiser
 filesystems -- though not impossible. Feel free to contact me off-list if you
 need specific pointers.
 
 HTH
 
 --
 Christopher Shanahan
 


__
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] undelete files that were deletet with rm?

2006-01-03 Thread Silviu Marin-Caea
On Tuesday 03 January 2006 19:38, Christian Lange wrote:
 Thanks for the hint, but the lost data is on my notebook. I cannot easily
 connect my IDE disk to it (don´t have an adapter). I´ve got a 250GB
 external USB-Harddisk, but it´s formatted with NTFS and Linux cannot write
 to this filesystem. I guess it is a lot faster when I sit down one or two
 days and rewrite the data (the deleted files where the PHP Files of our
 Hompage at the Economics Chair of our university)

Then they must be on the webserver.  No loss, you can retrieve all of them 
from there.

 than to try and handle 
 with different disks and programs. ;) I hoped there would be an easy to use
 programm to recover the deleted files. Install, rescue, be happy - you
 know? Like i´m used to from Windows (sometimes).^^

Well, don't delete from the CLI, delete from KDE, it has only Move to Trash 
with this purpose exactly.

If you use the CLI, it's supposed that you're expert and don't misstype 
characters :-) he-he

BTW, this type of question should be put on suse-linux-e@suse.com

This list is for developement talk, alpha, beta etc


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] Mailing list descriptions on opensuse.org wiki

2006-01-03 Thread Silviu Marin-Caea
I'm thinking of making the following edits.  Please tell me if you find them 
inaccurate.

http://www.opensuse.org/Communicate#openSUSE_Project_Mailing_Lists

opensuse for general discussions about the openSUSE project. This list is NOT 
for issues around SUSE Linux, please go to suse-linux-e or opensuse-factory 
instead. 

I would edit it to read:

opensuse for general discussions about de openSUSE *development* project.  For 
general questions pertaining to released SUSE Linux versions (eg. 9.3, 10.0) 
please use suse-linux-e



http://www.opensuse.org/Communicate#SUSE_Linux_Mailing_Lists

suse-linux-e for general discussions about SUSE Linux. There are mailing lists 
with high traffic also available in german, japanese, and spanish.

I would edit it to read:

suse-linux-e for general discussions about released SUSE Linux versions.  This 
list has many subscribers and high traffic.  You have the best chances of 
getting answers to your questions if you ask them here.  Also available in 
German, Japanese and Spanish.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]