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 apartia.org> writes: > > That statement contains several errors. And is also slightly offtopic > (doesn't use rsync). > > This should work: > > cd /b

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 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

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

2011-07-09 Thread Emilien Kenler
Louis-David Mitterrand 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 -- Please use

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

2011-07-09 Thread Louis-David Mitterrand
Hi, How can I copy each /backup/current/home//Maildir into /home//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: http://www.catb.org/~esr/faqs/sm

Problem with --dry-run

2011-07-09 Thread Thomas
Hi Gents, I have written a backup script with rsync, which is working fine for a long time. Now a problem has occured. which I am not able to solve by my own: Before I am doing the backup I am checkig if there are any changes to backup ... rsync --delete $RSYNC_EXCLUDE -avzne "$RSYNC_SSH" $RSYN