Still stuck with exculsion text file pattern

nomnex nomnex at gmail.com
Thu Jan 21 19:00:16 MST 2010


Find the corrections in the message (below). Thank you.

On Fri, 2010-01-22 at 10:46 +0900, nomnex wrote:
> I would like to rsync the dirs "Documents" "Sofware" and the .evolution
> files only. and remove the *~ files
> 
> ----------------------------------------------
> 
> Command:
> #rsync -r -n -t -v --progress
> --exclude-from=r1 /home/mt/ /home/mt/rsyncTest/
> 
> ------------------------------------------
> 
> #text file <r1>:
> + .evolution/calendar/local/system/calendar.ics (this does not work)
> + .evolution/memos/local/system/journal.ics (this does not work)
> + .evolution/tasks/local/system/tasks.ics (this does not work)
> 
> - *~
> 
> + Documents/***
> + Software/***
> 
> - *
> 
> ------------------------------------------
> 
> The only way to archive the ".evolution part" is to type "a line for
> each folder path"
> 
> + .evolution
> + .evolution/calendar
> + .evolution/calendar/local
> + .evolution/calendar/local/system/** (this will work)
> 
> First question: Is there a shorter syntax to get this result, and which
> one?
> 
> Second question: If I want the .evolution files copied at the root
> of /rsyncTest/ (see print screen: http://yfrog.com/esxxxx20100122080012p) i.e. without the folder structure, what syntax or rule
> do I need?
> 
> Thank you.
> 




More information about the rsync mailing list