Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to find empty directories in linux

find . -type d -empty # use this to find the empty files

find . -type d -empty -delete #use this to delete all empty dirctories
Comment

how to find empty folders linux

find . -type d -empty
Comment

PREVIOUS NEXT
Code Example
Shell :: check disk space ubuntu 
Shell :: brew services start mongodb 
Shell :: git setup local user 
Shell :: how to install openssl on windows 10 
Shell :: autopep8 command command 
Shell :: perl reverse shell 
Shell :: bashrc file location in linux 
Shell :: spring shell inside docker 
Shell :: ubuntu git credentials cache 
Shell :: git diff with vimdiff 
Shell :: mongodb compass community linux 
Shell :: Port 80 in use by "Unable to open process" with PID 4! 
Shell :: linux copy output to clipboard 
Shell :: device or resource busy 
Shell :: how to untar a tar file 
Shell :: bash capitalize vowels using tr 
Shell :: docker no space left on device 
Shell :: xlsx Module ../../xlsx/types has no exported member IProperties. Did you mean Properties? 
Shell :: find large files in ubuntu 
Shell :: where is my .git config mac 
Shell :: clear history linux 
Shell :: wsl cannot read realtime clock 
Shell :: ubuntu bionic update security has sum mismatch 
Shell :: keep sudo on 
Shell :: epub to pdf converter ubuntu 
Shell :: notepad++ kali 
Shell :: Yarn .gitignore for not Zero Installs 
Shell :: create a ssh key 
Shell :: Fix the upstream dependency conflict, or retry 
Shell :: Do you want to accept these changes and continue updating from this repository? 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =