Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

powershell create folder recursively

# Poweshell: Get the root drive letter, and move into it
$FILE_PARTS = $DESTINATION_DIR.split(":")
Set-Location "${FILE_PARTS[0]}"

# Recursively create subfolders
New-Item -Name $FILE_PARTS[1].Substring(1) -ItemType directory
Comment

PREVIOUS NEXT
Code Example
Shell :: vim discard changes and quit command 
Shell :: how to remove bin folder from git 
Shell :: ubuntu fake camera 
Shell :: bash read input 
Shell :: git format-patch 
Shell :: ubuntu vs lubuntu 
Shell :: get library list linux 
Shell :: vim set color scheme in vimrc 
Shell :: install arch linux 
Shell :: raspberry pi mongodb server 5.0 
Shell :: how to create a github account 
Shell :: upload directory ssh to remote 
Shell :: convert capital letters to lowercase in shell script 
Shell :: git config ssh protocol 
Shell :: how to execute a file in ubuntu by double click 
Shell :: ubuntu gui manager 
Shell :: less command show line numbers 
Shell :: git merge dev to local branch 
Shell :: install minikube chocolatey 
Shell :: git stage all 
Shell :: install docker on linux debian 
Shell :: run existing image docker 
Shell :: sudo: command not found 
Shell :: cli edit file 
Shell :: how to install deepin desktop environment on ubuntu 20.10 
Shell :: jenkins execute shell script on remote host using ssh 
Shell :: how to get process id in linux 
Shell :: if file not exists 
Shell :: merge master into local branch 
Shell :: git recover deleted file 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =