Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash copy files but exclude some directories

# Basic syntax:
rsync -a /directory/to/copy --exclude=directory_to_ignore

# Note, the directory_to_ignore can be anywhere within the 
#	/directory/to/copy
# Note, to add additional directories to ignore, add more --exclude
#	statements
Comment

PREVIOUS NEXT
Code Example
Shell :: debian netstat command not found 
Shell :: tar gz compress extract 
Shell :: untar gzip file 
Shell :: apache config file 
Shell :: java check jre version 
Shell :: evillimiter: command not found 
Shell :: install arronax 
Shell :: how to install unzip in ubuntu 
Shell :: how to push code to github 
Shell :: ionic 4 install bootstrap 
Shell :: command stop emulator android studio 
Shell :: uninstall openshot linux 
Shell :: how to stop build in heroku 
Shell :: show curr path cmd 
Shell :: find show system info linux 
Shell :: ubuntu remove directory 
Shell :: portainer install ubuntu 
Shell :: git reset fork 
Shell :: git command to create a branch 
Shell :: GVfs metadata is not supported. Fallback to Tell Metadata Manager. Either GVfs is not correctly installed or GVfs metadata are not supported on this platform. In the latter case, you should configure Tepl with --disable-gvfs-metadata. 
Shell :: zsh: command not found: rvm 
Shell :: purge a software linux 
Shell :: ubuntu get ram usage 
Shell :: how to exit from vi 
Shell :: arch add keyboard layout 
Shell :: linux typing hebrew 
Shell :: Create and mount the FAT & ext4 filesystems 
Shell :: git host key verification failed 
Shell :: install jupyter homebrew 
Shell :: wget download to specific directory 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =