rmdir not rm'ing
I type:
"sudo rmdir --ignore-fail-on-non-empty RealPlayer" it says: "" I type: "ls" it says: " drwxrwsr-x 2 root staff 24 2007-03-22 01:30 bin drwxrwsr-x 2 root staff 1 2007-03-15 18:38 etc drwxrwsr-x 3 root staff 8 2007-03-22 01:28 games drwxrwsr-x 2 root staff 1 2007-03-15 18:38 include drwxrwsr-x 4 root staff 32 2007-03-18 14:53 lib lrwxrwxrwx 1 root staff 9 2007-03-15 18:38 man -> share/man drwxr-sr-x 3 root staff 8 2007-03-18 14:53 netscape drwxr-sr-x 10 root root 4096 2007-03-18 15:01 RealPlayer drwxrwsr-x 2 root staff 1 2007-03-15 18:38 sbin drwxr-xr-x 3 root root 4096 2007-03-22 15:42 secureftp2_5 drwxrwsr-x 12 root staff 80 2007-03-15 20:14 share drwxrwsr-x 2 root staff 1 2007-03-15 18:38 src " I say: "what the $#@!" What do you say? |
I say try using rm recursively instead (be careful!)
Code:
rm -r <your_directory> |
What kind of response is this?
"" I've never had a Linux system give me this message...... Easier and better to first empty the directory OR--if you are REALLY SURE: rm -rf <dirname> |
"--ignore-fail-on-non-empty" just makes rmdir ignore the fact that you're trying to remove (unlink) a non-empty directory, rather than warning you about this. Ignoring the failure to remove the directory does not imply that it goes ahead with the removal (which it can't perform). It just fails to do the removal without reporting it back to you.
|
Quote:
|
All times are GMT -5. The time now is 04:52 AM. |