Preserved Topic: rm -r *.bak |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 07-13-2001 23:03
Can anyone explain why this command is only affecting the current directory contents? I thought it was supposed to recursively descend into subdirectories. |
Paranoid (IV) Inmate From: us |
posted 07-18-2001 01:12 |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
posted 07-18-2001 01:30
rm -r *.bak looks for files name anything followed by .bak. Unless you have a directory named something.bak, the command will ignore all your current directories. |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 07-18-2001 21:08
Ah, i see, thanks. |