Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Move folder content up a level using bash/shell

# move all files (including hidden dot files) from subfolder to current directorty
# Note the space before the last full-stop!
mv subfolder/* subfolder/.* .
Comment

PREVIOUS NEXT
Code Example
Shell :: linux switch user 
Shell :: linux kill all process of a user 
Shell :: wsl2 xserver 
Shell :: how to restore deleted branch in git 
Shell :: remove homebrew tap 
Shell :: NGINX systemd service file 
Shell :: tar multiple files and directories 
Shell :: find exclude directories 
Shell :: vscode publish to github organisation 
Shell :: pip install cookiecutter 
Shell :: copy from server to local ssh 
Shell :: gitlab push to create 
Shell :: pip install influxdb 
Shell :: install ansible 
Shell :: how to move to directories in command prompt 
Shell :: install zipalign kali linux 
Shell :: ssh permissions are too open 
Shell :: brew show package info 
Shell :: rm vs rmdir 
Shell :: bash read value 
Shell :: signing key android 
Shell :: delete file with cmd 
Shell :: conda install django-cors-headers 
Shell :: Git - show all files that have changes to commit 
Shell :: docker jenkins 
Shell :: edit alias terminal 
Shell :: Current user cannot act as service account 881087019435-compute@developer.gserviceaccount.com 
Shell :: c# check if word is installed 
Shell :: texlive 2019 in ubuntu 18.4 
Shell :: ubuntu add entry to /etc/apt/sources.list 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =