I am trying to add folder locations to a simple txt file so that rsync can create my backup. But when I am running --dry-run its not showing any file transfer.
Code:
$ rsync -avrh --dry-run --progress --include-from=/home/tarun/.backup_scripts/include_files.txt /home/tarun/b_test/destination/
sending incremental file list
drwxrwxr-x 4096 2014/02/11 22:26:47 .
sent 41 bytes received 12 bytes 106.00 bytes/sec
total size is 0 speedup is 0.00 (DRY RUN)
include.txt file:
Code:
$ cat include_files.txt
+ /home/tarun/b_test/source
source and destination folder contents.
Code:
$ ls *
destination:
source:
abs-guide.pdf C++ By its Creator.pdf file.txt testDir videoplayback_002
Bookmarks