Click to See Complete Forum and Search --> : file removing ?
neotrace
06-23-2001, 02:29 AM
when attempting to removing directories/files sometimes i get the error:
"rm: cannot unlink 'filename' : Is a directory"
i use the command rm -d filename
trueNewbie
06-23-2001, 04:17 AM
that filename is the filename of a directory. Use "rmdir" to delete directories.
neotrace
06-23-2001, 11:47 AM
thank u for the info!!!
killerasp
06-23-2001, 12:46 PM
if you want to remove a dir with stuff inside, use rm -rf dir
this is basically rm(remove) -r(recursive) f(force) and then the dir.
neotrace
06-23-2001, 01:07 PM
thanks killerasp, i've used that command but I would sometimes get the same error! The rmdir seems to work well though!