Re: copy /backup/current/home/???user/Maildir - /home/???user/Maildir ?

2011-07-15 Thread Louis-David Mitterrand
On Thu, Jul 14, 2011 at 11:24:46AM +0200, francis.montag...@inria.fr wrote: On Sat, 09 Jul 2011 15:04:24 +0200 Louis-David Mitterrand wrote: Is there also a pure rsync solution (without any shell loop) maybe based on --include/--exclude? I thing the following will do: cd

Re: copy /backup/current/home/???user/Maildir - /home/???user/Maildir ?

2011-07-14 Thread Francis . Montagnac
On Sat, 09 Jul 2011 15:04:24 +0200 Louis-David Mitterrand wrote: Is there also a pure rsync solution (without any shell loop) maybe based on --include/--exclude? I thing the following will do: cd /backup/current/home rsync -av --delete \ --include '/*/' \ --include

copy /backup/current/home/user/Maildir - /home/user/Maildir ?

2011-07-09 Thread Louis-David Mitterrand
Hi, How can I copy each /backup/current/home/user/Maildir into /home/user/Maildir ? Thanks, -- 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:

Re: copy /backup/current/home/≤user/Maildir - /home/≤user/Maildir ?

2011-07-09 Thread Emilien Kenler
Louis-David Mitterrand vindex+lists-rsync at apartia.org writes: Hi, How can I copy each /backup/current/home/≤user/Maildir into /home/≤user/Maildir ? Thanks, Hi, you can try this for i in /backup/current/home/ ; do cp /backup/current/home/${i}/Maildir /home/${i}/Maildir; done --

Re: copy /backup/current/home/???user/Maildir - /home/???user/Maildir ?

2011-07-09 Thread Matthias Schniedermeyer
On 09.07.2011 11:23, Emilien Kenler wrote: Louis-David Mitterrand vindex+lists-rsync at apartia.org writes: Hi, How can I copy each /backup/current/home/???user/Maildir into /home/???user/Maildir ? Thanks, Hi, you can try this for i in /backup/current/home/ ; do cp

Re: copy /backup/current/home/???user/Maildir - /home/???user/Maildir ?

2011-07-09 Thread Louis-David Mitterrand
On Sat, Jul 09, 2011 at 02:26:07PM +0200, Matthias Schniedermeyer wrote: On 09.07.2011 11:23, Emilien Kenler wrote: Louis-David Mitterrand vindex+lists-rsync at apartia.org writes: That statement contains several errors. And is also slightly offtopic (doesn't use rsync). This should