Rsync Minimalist: --include only does "add_exclude"

Mike Todd Mike at toddco.net
Tue Jan 18 15:55:02 GMT 2005


Why does this not include?  I have tried many variations including 
adding an exclude command.

Includes.txt:
+ //aBackup/*
+ //apic/*
- /*

rsync --verbose --progress --stats -vv --recursive -e "ssh -p 2423" 
--include-from=includes.txt rsynchost:
add_exclude(+ //aBackup/*.*)
add_exclude(+ //apic/*)
add_exclude(- /*)
user at rsynchost's password:
receiving file list ... add_exclude(+ //aBackup/*.*,exclude)
add_exclude(+ //apic/*,exclude)
add_exclude(/*,exclude)
server_sender starting pid=9646
make_file(1,.)
expand file_list to 4000 bytes, did move
recv_file_name(.)
excluding directory .kde because of pattern /*
excluding file .emacs because of pattern /*
excluding file .bash_logout because of pattern /*
excluding file .bash_profile because of pattern /*
excluding file .bashrc because of pattern /*
excluding file .gtkrc because of pattern /*
excluding file .bash_history because of pattern /*
excluding file .viminfo because of pattern /*
received 1 names
done
drwxr-xr-x        4096 2005/01/16  .
recv_file_list done
get_local_name count=1 <NULL>
generator starting pid=2988 count=1
generate_files phase=1
recv_files(1) starting
send_file_list done
send_files starting
recv_files phase=1
generate_files phase=2
send_files phase=1
send files finished
total: matches=0  tag_hits=0  false_alarms=0 data=0
recv_files finished

Number of files: 1
Number of files transferred: 0
Total file size: 0 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 20
Total bytes written: 55
Total bytes read: 802

wrote 55 bytes  read 802 bytes  155.82 bytes/sec
total size is 0  speedup is 0.00

C:\abackup>Pause
Press any key to continue . . .

Regards
MikeT



More information about the rsync mailing list