Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

rmdir directory not empty windows

rmdir /s /q mydir
Comment

rmdir not empty

rm -rf dir-name
Comment

delete non empty directory cmd

rm -rf directoryname
Comment

rmdir directory not empty

To remove(delete) a directory use:
rmdir *directory name* 
e.g: rmdir "my directory"

To remove a non-empty directory use:
rm -r *directory name*
e.g: rm -r "my non-empty directory"


Use "" when your directory path (absolute or relative) or name contains spaces
Comment

cmd remove directory not empty windows

rmdir /S directory_to_be_deleted
Comment

remove directory not empty windows

rd /s /q "path"
Comment

rmdir directory not empty

rmdir folder1  folder2 #remove empty directory folders
rm -rf folder1 folder2 #remove non-empty folders and its content recursively
Comment

PREVIOUS NEXT
Code Example
Shell :: combine two file linux 
Shell :: docker remove all images powershell 
Shell :: command to check pip3 version on linux 
Shell :: format partition linux 
Shell :: how to install from git clone 
Shell :: raspberry pi scan networks 
Shell :: make current branch master 
Shell :: get size of image linux 
Shell :: git change user of last commit 
Shell :: split string in shell 
Shell :: how to upgrade docker-compose version 
Shell :: install haskell 
Shell :: show remote git 
Shell :: how to check jibri version 
Shell :: npm http server 
Shell :: install sam cli ubuntu 
Shell :: yarn start error error listen EADDRINUSE: address already in use :::8081. 
Shell :: bash get username 
Shell :: git remove files from repo but not locally 
Shell :: how to push local repo to github 
Shell :: google-chrome in ubuntu 
Shell :: lines count linux 
Shell :: unable to locate package ubuntu 
Shell :: install kasm ubuntu 
Shell :: # Check failed: allocator-SetPermissions(reinterpret_cast<void*(region.begin()), region.size(), PageAllocator::kNoAccess). 
Shell :: bash escape special characters in variable 
Shell :: Use pip to install the EB CLI. 
Shell :: cmake install 
Shell :: linux speed up video 
Shell :: bash while loop 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =