Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

rsync only new files

rsync -r source_folder/ target_folder/ --ignore-existing 
Comment

rsync only updated files

rsync -r source_folder/ target_folder/ --update
Comment

rsync keep old files

rsync -vzrb --backup-dir=_old_ --suffix=$(date+_%F-%T) --update --times /path/to/source backupuser@1.2.3.4:./path/to/destination
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install apache2 on ubuntu 20.04 
Shell :: conda install huggingface hub 
Shell :: git: create and remove git alias command 
Shell :: ubuntu change username 
Shell :: git command to create a branch from another branch 
Shell :: how to install jupyter notebook 
Shell :: uniq linux 
Shell :: install packages from pipfile 
Shell :: github create repo 
Shell :: function in shell script 
Shell :: macos make file executable 
Shell :: npm install xlsx 
Shell :: react native ubuntu 20.04 
Shell :: install unrar linux 
Shell :: tar zip multiple files 
Shell :: gtk windows install 
Shell :: vlc media player download for fedora 
Shell :: git discard unstaged files 
Shell :: bash get last character of string 
Shell :: git check if stash exists 
Shell :: how to upgrader vscodium 
Shell :: git revert last commit 
Shell :: git track remote branch 
Shell :: git commit message 
Shell :: elasticsearch get indices regex 
Shell :: bash regex match 
Shell :: chmod 777 command in linux 
Shell :: install latest i18next version 
Shell :: git commit single file 
Shell :: tr unix use 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =