Re: can rsync correct dates?

2012-09-06 Thread Chris Davies
Chris Davies chris-use...@roaima.co.uk wrote: find * -daystart -mtime -2 -type f | cpio -ovBH ustar /root/KEEP_THESE.tar I have been asked off-list how this use of cpio compared to tar, and why I wasn't using tar directly. Fair questions, so here are some answers (for the record,

Re: can rsync correct dates?

2012-09-03 Thread lee
Dr Beco r...@beco.cc writes: Guys, For some reason, my restoration from a backup (using rsync) to notebook got me all my files dated 13/08/12, indistinctly. After some days I realized the problem. Now I need to rsync again from backup to notebook just to correct the dates. But I don't

Re: can rsync correct dates?

2012-09-03 Thread Dr Beco
On Mon, Sep 3, 2012 at 3:10 AM, lee l...@yun.yagibdah.de wrote: So, how do I compose such a command rsync plus find, to achieve this? You could 1.) create a file with a list of such files with find and use the --exclude-from= of rsync to exclude them, or 2.) you could make another

Re: can rsync correct dates?

2012-09-03 Thread Chris Davies
Dr Beco r...@beco.cc wrote: For some reason, my restoration from a backup (using rsync) to notebook got me all my files dated 13/08/12, indistinctly. Now I need to rsync again from backup to notebook just to correct the dates. But I don't want to lose files I changed. I can filter the files

Re: can rsync correct dates?

2012-09-03 Thread lee
Dr Beco r...@beco.cc writes: On Mon, Sep 3, 2012 at 3:10 AM, lee l...@yun.yagibdah.de wrote: So, how do I compose such a command rsync plus find, to achieve this? You could 1.) create a file with a list of such files with find and use the --exclude-from= of rsync to exclude them, or

can rsync correct dates?

2012-09-02 Thread Dr Beco
Guys, For some reason, my restoration from a backup (using rsync) to notebook got me all my files dated 13/08/12, indistinctly. After some days I realized the problem. Now I need to rsync again from backup to notebook just to correct the dates. But I don't want to lose files I changed. I gave