Hello,

I need to rsync files which were listed in the dry-run.
What flag should I use to promote only those files "stored" in
LIST_promote.log?
I can use perl to extract only file name from the log but what option can I
use to let rsync  to  promote ONLY file from the list?

Any hint?
Thanks,
Magda


This is my dry-run command:
-----------------------------------------
RSYNC_COMMAND="/usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync --rsh
"/usr/bin/rsh" -naurpvDlHog --backup --suffix=_prom+ --s
tats --include-from=${INCLUDE_LIST} --exclude-from=${EXCLUDE_LIST}"

The is my LIST_promote f
-----------------------------------------
 # vi LIST_promote_06082001_TIME:12:19:27.log
"LIST_promote_06082001_TIME:12:19:27.log" 32 lines, 813 characters 
building file list ... done
xxx/01ndddds.html
xxx/txfhhkj.html
xxx/wfffast.gif
xxx/most_requested.txt
xxx/txodd.html
xxx/vircajhkst/june8_2001.html
xxx/wgtrast.html
xxx/wejgjst_schedule.html
xxx/chkhk_num.html
xxx/nehkhks_545.html
xxx/Thkhk5.html
xxx/9jkjl9.html
xxx/Tnn,5.html
xxx/gjgjhor_list.html
xxx/sjkjkh.html

Number of files: 8324
Number of files transferred: 18
Total file size: 180007706 bytes
Total transferred file size: 721176 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 248926
Total bytes written: 249010
Total bytes read: 88

wrote 249010 bytes  read 88 bytes  45290.55 bytes/sec
total size is 180007706  speedup is 722.64

Reply via email to