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. >
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html