Rsync is a great tool to copy and sync directories and files across computers. It can also be used to manage source code and data read more
Rsync uses ssh to sync files between two machines and usually it will use default identity file present in ~/.ssh/ directory on Linux. In case read more
To exclude a specific file extension (say .class) we can use –exclude “*.class” (or –exclude=”*.class”). Note that it can be repeated multiple time. $ rsync read more
Rsync can be used to sync directories and files from one machine to another. Sometime we want to see the progress and transfer speed. For read more
Use rsync dryrun (-n) with -i (or –itemize-changes) to list changed files. $ rsync -n -i -a ./dir1 ./destdir/ cd+++++++ dir1/ >f+++++++ dir1/file1.php >f+++++++ dir1/file2.php read more
Rsync can be used to automate the production releases for wordpress or any other site. I maintain two wordpress sites – one for development purpose and one read more
Copyright © 2020 InfoHeap.
Powered by WordPress