Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

rsync exclude empty directories

rsync --prune-empty-dirs

# or simply, execute find after rsync, 
find /the_folder_path -type d -empty -delete
Comment

PREVIOUS NEXT
Code Example
Shell :: powershell create new file and open 
Shell :: windows use lf instead of crlf 
Shell :: how to scp from vm to local 
Shell :: vue import yaml 
Shell :: How To Make Log File On Batch Script 
Shell :: linux remove packages 
Shell :: proxmox upgrade 
Shell :: samba check config 
Shell :: Best way to change the file extension in powershell 
Shell :: set alias for directory in powershell 
Shell :: find index of string in shell 
Shell :: nvmrc 
Shell :: chmod user to root 
Shell :: rmdir unix 
Shell :: Update /etc/apt/sources.list file 
Shell :: git switch branch 
Shell :: ffmpeg denoise audio 
Shell :: how to sudo pip permission denied 
Shell :: powershell regex 
Shell :: change commit message after push 
Shell :: mvn clean install does not running test 
Shell :: git clone https://github.com/git/git 
Shell :: nextjs cli 
Shell :: git commit exluding one file 
Shell :: linux nano editor 
Shell :: arch linux wine 
Shell :: connect ftp terminal ubuntu 
Shell :: scp send file to remote 
Shell :: manual of command 
Shell :: remover completamente programa terminal ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =